mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add the conflict2.test script. Fix issues discovered by this script.
FossilOrigin-Name: 294ed33756b06375e56c41f1088d42ee48adbdc8
This commit is contained in:
@ -47,8 +47,8 @@ do_test unique-1.3 {
|
||||
catchsql {
|
||||
INSERT INTO t1(a,b,c) VALUES(1,3,4)
|
||||
}
|
||||
} {1 {column a is not unique}}
|
||||
verify_ex_errcode unique-1.3b SQLITE_CONSTRAINT_UNIQUE
|
||||
} {1 {PRIMARY KEY must be unique}}
|
||||
verify_ex_errcode unique-1.3b SQLITE_CONSTRAINT_PRIMARYKEY
|
||||
do_test unique-1.4 {
|
||||
execsql {
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
|
Reference in New Issue
Block a user