mirror of
https://github.com/status-im/sqlcipher.git
synced 2025-02-23 09:18:11 +00:00
Merge branch 'pull-247' into prerelease
This commit is contained in:
commit
1062854faa
@ -1378,7 +1378,7 @@ int sqlcipher_codec_ctx_migrate(codec_ctx *ctx) {
|
||||
pDb->pBt = 0;
|
||||
pDb->pSchema = 0;
|
||||
sqlite3ResetAllSchemasOfConnection(db);
|
||||
remove(migrated_db_filename);
|
||||
db->pVfs->xDelete(db->pVfs, migrated_db_filename, 0);
|
||||
sqlite3_free(migrated_db_filename);
|
||||
} else {
|
||||
CODEC_TRACE("*** migration failure** error code: %d\n", rc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user