go-sqlcipher icon indicating copy to clipboard operation
go-sqlcipher copied to clipboard

ADD: PRAGMA cipher_compatibility

Open safiir opened this issue 1 year ago • 1 comments

The cipher_compatibility pragma should be called immediately after if provided in dsn for indicating backward compatibility requirement (eg. from v4 -> v3), but not considered previously, so it lead to error file is not a database, because synchronous pragma is always executed even if cipher_compatibility pragma is not executed.

safiir avatar Mar 26 '23 11:03 safiir