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/copy.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/copy.test')
-rw-r--r-- | test/copy.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/copy.test b/test/copy.test index d439b51b6..37301c9f3 100644 --- a/test/copy.test +++ b/test/copy.test @@ -11,7 +11,7 @@ # This file implements regression tests for SQLite library. The # focus of this file is testing the COPY statement. # -# $Id: copy.test,v 1.14 2003/06/02 22:50:27 drh Exp $ +# $Id: copy.test,v 1.15 2003/08/05 13:13:39 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -196,7 +196,7 @@ do_test copy-5.2 { COPY t1 FROM 'data6.txt' USING DELIMITERS '|'; SELECT * FROM t1; } -} {1 {uniqueness constraint failed}} +} {1 {column b is not unique}} do_test copy-5.3 { set fd [open data6.txt w] puts $fd "33|22|44" |