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:
@ -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
|
||||
|
Reference in New Issue
Block a user