Closed benjaminjackman closed 2 years ago
I get a message of 'database image is malformed' on files > 4GB
Changing:
x_file_size_type = CFUNCTYPE(c_int, c_void_p, POINTER(c_int)) def x_file_size(p_file, p_size): p_size[0] = size return SQLITE_OK
To accept a 64bit pointer
x_file_size_type = CFUNCTYPE(c_int, c_void_p, POINTER(c_int64))
fixes the issue
Looks good - thanks!
Now released in v0.0.66
I get a message of 'database image is malformed' on files > 4GB
Changing:
To accept a 64bit pointer
fixes the issue