Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/sqlite/src/test/vtabA.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/src/test/vtab5.test ('k') | third_party/sqlite/src/test/vtabE.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } {{b c} {} integerhidden hidden1} 124 } {{b c} {} integerhidden hidden1}
125 125
126 do_test vtabA-2.3 { 126 do_test vtabA-2.3 {
127 analyse_parse {(a HiDden, b HIDDEN, c hidden)} {a b c} 127 analyse_parse {(a HiDden, b HIDDEN, c hidden)} {a b c}
128 } {{} {} {} {}} 128 } {{} {} {} {}}
129 129
130 do_test vtabA-2.4 { 130 do_test vtabA-2.4 {
131 analyse_parse {(a whatelse can i hidden test, b HIDDEN hidden)} {a b} 131 analyse_parse {(a whatelse can i hidden test, b HIDDEN hidden)} {a b}
132 } {{} {whatelse can i test} hidden} 132 } {{} {whatelse can i test} hidden}
133 133
134
135 # Ticket [d2f02d37f52bfe23e421f2c60fbb8586ac76ff01]:
136 # assertion failure on an UPDATE involving two virtual tables.
137 #
138 do_test vtabA-3.1 {
139 db eval {
140 DROP TABLE IF EXISTS t1;
141 DROP TABLE IF EXISTS t2;
142 CREATE TABLE t1(a,b);
143 INSERT INTO t1 VALUES(1,2);
144 CREATE TABLE t2(x,y);
145 INSERT INTO t2 VALUES(3,4);
146 CREATE VIRTUAL TABLE vt1 USING echo(t1);
147 CREATE VIRTUAL TABLE vt2 USING echo(t2);
148 UPDATE vt2 SET x=(SELECT a FROM vt1 WHERE b=2) WHERE y=4;
149 SELECT * FROM t2;
150 }
151 } {1 4}
152
134 finish_test 153 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/vtab5.test ('k') | third_party/sqlite/src/test/vtabE.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698