1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Update fkey_malloc.test to account for the sqlite3_errmsg() related changes in [8f88cc4e61] and [dcb7879347].

FossilOrigin-Name: 5b82ec6fbbd2f4195ad06dd911de3817373ad5bf
This commit is contained in:
dan
2011-10-29 19:25:08 +00:00
parent 3b504df151
commit 09024341d5
3 changed files with 8 additions and 8 deletions

View File

@ -68,7 +68,7 @@ proc catch_fk_error {zSql} {
if {[string match {*foreign key*} $msg]} {
return ""
}
if {$msg eq "out of memory"} {
if {$msg eq "out of memory" || $msg eq "constraint failed"} {
error 1
}
error $msg