fix redeclaration

This commit is contained in:
Stephen Lombardo
2018-12-17 13:11:57 -05:00
parent 9692fb166c
commit e93a26f731
+1 -1
View File
@@ -1265,7 +1265,7 @@ int sqlcipher_codec_ctx_migrate(codec_ctx *ctx) {
goto cleanup;
}
for(int i = 3; i > 0; i--) {
for(i = 3; i > 0; i--) {
pragma_compat = sqlite3_mprintf("PRAGMA cipher_compatibility = %d;", i);
rc = sqlcipher_check_connection(db_filename, pass, pass_sz, pragma_compat, &user_version, &journal_mode);
if(rc == SQLITE_OK) {