OLD | NEW |
1 # 2009 April 24 | 1 # 2009 April 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 CREATE TABLE t4(x,y); | 90 CREATE TABLE t4(x,y); |
91 INSERT INTO t4 SELECT a, b FROM t1; | 91 INSERT INTO t4 SELECT a, b FROM t1; |
92 INSERT INTO t4 VALUES(234,567); | 92 INSERT INTO t4 VALUES(234,567); |
93 CREATE UNIQUE INDEX t4y ON t4(y); | 93 CREATE UNIQUE INDEX t4y ON t4(y); |
94 UPDATE t4 SET rowid=rowid+100 WHERE y IS NULL; | 94 UPDATE t4 SET rowid=rowid+100 WHERE y IS NULL; |
95 SELECT rowid, x FROM t4 ORDER BY rowid; | 95 SELECT rowid, x FROM t4 ORDER BY rowid; |
96 } | 96 } |
97 } {6 234 101 1 102 9 103 5 104 123 105 -10} | 97 } {6 234 101 1 102 9 103 5 104 123 105 -10} |
98 | 98 |
99 finish_test | 99 finish_test |
OLD | NEW |