explicit test for opening 2.0 format db with hmac
This commit is contained in:
parent
bfff38581c
commit
cc0e8be7a3
Binary file not shown.
|
@ -1556,4 +1556,15 @@ do_test multipage-schema-autovacuum-shortread-wal {
|
|||
db close
|
||||
file delete -force test.db
|
||||
|
||||
# open a 2.0 database verify it can be opened
|
||||
do_test open-2.0-database {
|
||||
sqlite_orig db sqlcipher-2.0-testkey.db
|
||||
execsql {
|
||||
PRAGMA key = 'testkey';
|
||||
SELECT count(*) FROM t1;
|
||||
SELECT * FROM t1;
|
||||
}
|
||||
} {4 1 1 one one 1 2 one two}
|
||||
db close
|
||||
|
||||
finish_test
|
||||
|
|
Loading…
Reference in New Issue