1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Update corruptL.test so that it works with SQLITE_ENABLE_OVERSIZE_CELL_CHECK builds.

FossilOrigin-Name: b1bec72043f798f4d4d30e6b60a45ed4dc521115c8a9f97bb8228e3f089deefb
This commit is contained in:
dan
2022-04-26 19:16:11 +00:00
parent 3e4314b4f8
commit 5487cdcc0a
3 changed files with 13 additions and 10 deletions

View File

@ -1480,8 +1480,12 @@ do_execsql_test 19.1 {
PRAGMA writable_schema=ON;
}
set err "UNIQUE constraint failed: index 'a'"
ifcapable oversize_cell_check {
set err "database disk image is malformed"
}
do_catchsql_test 19.2 {
UPDATE t1 SET a=1;
} {1 {UNIQUE constraint failed: index 'a'}}
} [list 1 $err]
finish_test