Fix testcase misc7-16 so that it works with the new UNIQUE constraint error
message format. FossilOrigin-Name: c7f2ed9f44be3b66a542ee42c0db63bab8ffd2db
This commit is contained in:
+1
-1
@@ -355,7 +355,7 @@ do_ioerr_test misc7-16 -sqlprep {
|
||||
COMMIT;
|
||||
}} msg]
|
||||
|
||||
if {!$rc || ($rc && [string first "columns" $msg]==0)} {
|
||||
if {!$rc || ($rc && [string first "UNIQUE" $msg]==0)} {
|
||||
set msg
|
||||
} else {
|
||||
error $msg
|
||||
|
||||
Reference in New Issue
Block a user