OLD | NEW |
1 # 2007 January 24 | 1 # 2007 January 24 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #*********************************************************************** | 10 #*********************************************************************** |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 DROP TABLE IF EXISTS t1; | 553 DROP TABLE IF EXISTS t1; |
554 DROP TABLE IF EXISTS t2; | 554 DROP TABLE IF EXISTS t2; |
555 CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT ROLLBACK, b); | 555 CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT ROLLBACK, b); |
556 CREATE TABLE t2(x INTEGER PRIMARY KEY ON CONFLICT ROLLBACK, y); | 556 CREATE TABLE t2(x INTEGER PRIMARY KEY ON CONFLICT ROLLBACK, y); |
557 INSERT INTO t2 VALUES(1,3); | 557 INSERT INTO t2 VALUES(1,3); |
558 INSERT INTO t1 SELECT * FROM t2; | 558 INSERT INTO t1 SELECT * FROM t2; |
559 SELECT * FROM t1; | 559 SELECT * FROM t1; |
560 } | 560 } |
561 } {1 3} | 561 } {1 3} |
562 | 562 |
| 563 do_catchsql_test insert4-9.1 { |
| 564 DROP TABLE IF EXISTS t1; |
| 565 CREATE TABLE t1(x); |
| 566 INSERT INTO t1(x) VALUES(5 COLLATE xyzzy) UNION SELECT 0; |
| 567 } {1 {no such collation sequence: xyzzy}} |
563 | 568 |
564 finish_test | 569 finish_test |
OLD | NEW |