File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -2170,13 +2170,20 @@ do_test can-migrate-with-keys-longer-than-64-characters {
21702170 PRAGMA user_version = 5;
21712171 }
21722172 db close
2173+
21732174 sqlite_orig db test.db
21742175 execsql {
2175- PRAGMA key = "012345678901234567890123456789012345678901234567890123456789012345";
2176+ PRAGMA key = "012345678901234567890123456789012345678901234567890123456789012345";
21762177 PRAGMA cipher_migrate;
2178+ }
2179+ db close
2180+
2181+ sqlite_orig db test.db
2182+ execsql {
2183+ PRAGMA key = "012345678901234567890123456789012345678901234567890123456789012345";
21772184 PRAGMA user_version;
21782185 }
2179- } {0 5}
2186+ } {5}
21802187db close
21812188file delete -force test.db
21822189
@@ -2189,13 +2196,20 @@ do_test can-migrate-with-raw-hex-key {
21892196 PRAGMA user_version = 5;
21902197 }
21912198 db close
2199+
21922200 sqlite_orig db test.db
21932201 execsql {
2194- PRAGMA key = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
2202+ PRAGMA key = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
21952203 PRAGMA cipher_migrate;
2204+ }
2205+
2206+ sqlite_orig db test.db
2207+ execsql {
2208+ PRAGMA key = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
21962209 PRAGMA user_version;
21972210 }
2198- } {0 5}
2211+
2212+ } {5}
21992213db close
22002214file delete -force test.db
22012215
You can’t perform that action at this time.
0 commit comments