Fix testcase misc7-16 so that it works with the new UNIQUE constraint error

message format.

FossilOrigin-Name: c7f2ed9f44be3b66a542ee42c0db63bab8ffd2db
This commit is contained in:
drh
2013-11-16 12:56:46 +00:00
parent 40864a1401
commit 143867516b
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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