File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -955,15 +955,13 @@ int sqlcipher_codec_ctx_migrate(codec_ctx *ctx) {
955955 sqlite3 * db = ctx -> pBt -> db ;
956956 const char * db_filename = sqlite3_db_filename (db , "main" );
957957 char * migrated_db_filename = sqlite3_mprintf ("%s-migrated" , db_filename );
958- char * query_sqlite_master = "SELECT count(*) from sqlite_master;" ;
959958 char * pragma_hmac_off = "PRAGMA cipher_use_hmac = OFF;" ;
960959 char * pragma_4k_kdf_iter = "PRAGMA kdf_iter = 4000;" ;
961960 char * pragma_1x_and_4k ;
962961 char * key ;
963962 int key_sz ;
964963 int upgrade_1x_format = 0 ;
965964 int upgrade_4k_format = 0 ;
966- char * err = 0 ;
967965 static const unsigned char aCopy [] = {
968966 BTREE_SCHEMA_VERSION , 1 , /* Add one to the old schema cookie */
969967 BTREE_DEFAULT_CACHE_SIZE , 0 , /* Preserve the default page cache size */
You can’t perform that action at this time.
0 commit comments