mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
PRAGMA integrity_check returns SQLITE_OK even if it encounters corruption
while scanning indexes. FossilOrigin-Name: 81f62e99f27dedf3dc10fa1593c4cd9fc158680867206aee853e503a0cc8df71
This commit is contained in:
@ -1952,7 +1952,7 @@ do_catchsql_test 24.1 {
|
||||
} {1 {database disk image is malformed}}
|
||||
do_catchsql_test 24.2 {
|
||||
PRAGMA integrity_check;
|
||||
} {1 {database disk image is malformed}}
|
||||
} {0 {{database disk image is malformed}}}
|
||||
|
||||
database_never_corrupt
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user