diff options
author | drh <drh@noemail.net> | 2003-08-05 13:13:38 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2003-08-05 13:13:38 +0000 |
commit | 37ed48ed2fd1918b43f8ffdbf96dce8fcf8fb64c (patch) | |
tree | e39cbda59e418f5feacd6bd2283098c4df1df242 /test/update.test | |
parent | 4305d10360ab7b6fba381b9e783e14503a513b58 (diff) | |
download | sqlite-37ed48ed2fd1918b43f8ffdbf96dce8fcf8fb64c.tar.gz sqlite-37ed48ed2fd1918b43f8ffdbf96dce8fcf8fb64c.zip |
Provide a more informative error message when a uniqueness constraint
fails. Ticket #419. (CVS 1068)
FossilOrigin-Name: 086aa1c9922b7bf399b3ee8b73ba7353d126b119
Diffstat (limited to 'test/update.test')
-rw-r--r-- | test/update.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/update.test b/test/update.test index c59a64039..049370f9b 100644 --- a/test/update.test +++ b/test/update.test @@ -11,7 +11,7 @@ # This file implements regression tests for SQLite library. The # focus of this file is testing the UPDATE statement. # -# $Id: update.test,v 1.13 2003/06/15 23:42:25 drh Exp $ +# $Id: update.test,v 1.14 2003/08/05 13:13:39 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -457,7 +457,7 @@ do_test update-10.6 { UPDATE t1 SET b=2, e=12 WHERE f=7; SELECT * FROM t1; } -} {1 {uniqueness constraint failed}} +} {1 {column b is not unique}} do_test update-10.7 { catchsql { SELECT * FROM t1; @@ -474,7 +474,7 @@ do_test update-10.9 { UPDATE t1 SET c=3, d=4, e=14 WHERE f=7; SELECT * FROM t1; } -} {1 {uniqueness constraint failed}} +} {1 {columns c, d are not unique}} do_test update-10.10 { catchsql { SELECT * FROM t1; |