mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Update a few test cases to account for the new error message formats.
FossilOrigin-Name: 65a5bce3ffb656a43a2e5d2308a4bc67497105de
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user