diff --git a/sqlcipher-2.0-be-testkey.db b/sqlcipher-2.0-be-testkey.db index f6f70f8..fcabab3 100644 Binary files a/sqlcipher-2.0-be-testkey.db and b/sqlcipher-2.0-be-testkey.db differ diff --git a/test/crypto.test b/test/crypto.test index 518ed4f..01c9161 100644 --- a/test/crypto.test +++ b/test/crypto.test @@ -1679,9 +1679,9 @@ do_test open-2.0-be-database { PRAGMA cipher_hmac_pgno = be; PRAGMA kdf_iter = 4000; SELECT count(*) FROM t1; - SELECT * FROM t1; + SELECT distinct * FROM t1; } -} {4 1 1 one one 1 2 one two} +} {78536 1 1 one one 1 2 one two} db close # open a 2.0 database with big-endian hmac page numbers @@ -1706,9 +1706,9 @@ do_test be-to-le-migration { execsql { PRAGMA key = 'testkey'; SELECT count(*) FROM t1; - SELECT * FROM t1; + SELECT distinct * FROM t1; } -} {4 1 1 one one 1 2 one two} +} {78536 1 1 one one 1 2 one two} db close file delete -force test.db