OLD | NEW |
1 # 2007 June 26 | 1 # 2007 June 26 |
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 CREATE TABLE t2(x,y); | 144 CREATE TABLE t2(x,y); |
145 INSERT INTO t2 VALUES(3,4); | 145 INSERT INTO t2 VALUES(3,4); |
146 CREATE VIRTUAL TABLE vt1 USING echo(t1); | 146 CREATE VIRTUAL TABLE vt1 USING echo(t1); |
147 CREATE VIRTUAL TABLE vt2 USING echo(t2); | 147 CREATE VIRTUAL TABLE vt2 USING echo(t2); |
148 UPDATE vt2 SET x=(SELECT a FROM vt1 WHERE b=2) WHERE y=4; | 148 UPDATE vt2 SET x=(SELECT a FROM vt1 WHERE b=2) WHERE y=4; |
149 SELECT * FROM t2; | 149 SELECT * FROM t2; |
150 } | 150 } |
151 } {1 4} | 151 } {1 4} |
152 | 152 |
153 finish_test | 153 finish_test |
OLD | NEW |