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 {
2170
2170
PRAGMA user_version = 5;
2171
2171
}
2172
2172
db close
2173
+
2173
2174
sqlite_orig db test.db
2174
2175
execsql {
2175
- PRAGMA key = "012345678901234567890123456789012345678901234567890123456789012345";
2176
+ PRAGMA key = "012345678901234567890123456789012345678901234567890123456789012345";
2176
2177
PRAGMA cipher_migrate;
2178
+ }
2179
+ db close
2180
+
2181
+ sqlite_orig db test.db
2182
+ execsql {
2183
+ PRAGMA key = "012345678901234567890123456789012345678901234567890123456789012345";
2177
2184
PRAGMA user_version;
2178
2185
}
2179
- } {0 5}
2186
+ } {5}
2180
2187
db close
2181
2188
file delete -force test.db
2182
2189
@@ -2189,13 +2196,20 @@ do_test can-migrate-with-raw-hex-key {
2189
2196
PRAGMA user_version = 5;
2190
2197
}
2191
2198
db close
2199
+
2192
2200
sqlite_orig db test.db
2193
2201
execsql {
2194
- PRAGMA key = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
2202
+ PRAGMA key = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
2195
2203
PRAGMA cipher_migrate;
2204
+ }
2205
+
2206
+ sqlite_orig db test.db
2207
+ execsql {
2208
+ PRAGMA key = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
2196
2209
PRAGMA user_version;
2197
2210
}
2198
- } {0 5}
2211
+
2212
+ } {5}
2199
2213
db close
2200
2214
file delete -force test.db
2201
2215
You can’t perform that action at this time.
0 commit comments