diff options
Diffstat (limited to 'test/fkey_malloc.test')
-rw-r--r-- | test/fkey_malloc.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/fkey_malloc.test b/test/fkey_malloc.test index b4b5b4e..382e6f6 100644 --- a/test/fkey_malloc.test +++ b/test/fkey_malloc.test @@ -69,7 +69,10 @@ proc catch_fk_error {zSql} { if {[string match {*foreign key*} $msg]} { return "" } - if {$msg eq "out of memory" || $msg eq "constraint failed"} { + if {$msg eq "out of memory" + || $msg eq "FOREIGN KEY constraint failed" + || $msg eq "constraint failed" + } { error 1 } error $msg |