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

Side by Side Diff: third_party/sqlite/src/test/tkt3201.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/tkt1667.test ('k') | third_party/sqlite/src/test/tkt3442.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 # 2008 July 4 1 # 2008 July 4
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 execsql { SELECT a, b, c, d FROM t1, t3 } 66 execsql { SELECT a, b, c, d FROM t1, t3 }
67 } {1 one 2 two} 67 } {1 one 2 two}
68 68
69 do_test tkt3201-7 { 69 do_test tkt3201-7 {
70 execsql { SELECT a, b, c, d FROM t1, t3 WHERE a < c } 70 execsql { SELECT a, b, c, d FROM t1, t3 WHERE a < c }
71 } {1 one 2 two} 71 } {1 one 2 two}
72 72
73 # Ticket [efc02f977919] 73 # Ticket [efc02f977919]
74 # 74 #
75 do_test tkt3201-4.0 { 75 ifcapable trigger {
76 db eval { 76 do_test tkt3201-4.0 {
77 CREATE TABLE t4(x); 77 db eval {
78 CREATE TABLE t4_log(x); 78 CREATE TABLE t4(x);
79 CREATE TRIGGER r4_1 AFTER INSERT ON t4 WHEN new.x=1 BEGIN 79 CREATE TABLE t4_log(x);
80 INSERT INTO t4_log(x) VALUES(new.x); 80 CREATE TRIGGER r4_1 AFTER INSERT ON t4 WHEN new.x=1 BEGIN
81 END; 81 INSERT INTO t4_log(x) VALUES(new.x);
82 CREATE TRIGGER r4_2 AFTER INSERT ON t4 WHEN new.x=2 BEGIN 82 END;
83 INSERT INTO t4_log(x) VALUES(new.x); 83 CREATE TRIGGER r4_2 AFTER INSERT ON t4 WHEN new.x=2 BEGIN
84 END; 84 INSERT INTO t4_log(x) VALUES(new.x);
85 CREATE TRIGGER r4_3 AFTER INSERT ON t4 WHEN new.x=3 BEGIN 85 END;
86 INSERT INTO t4_log(x) VALUES(new.x); 86 CREATE TRIGGER r4_3 AFTER INSERT ON t4 WHEN new.x=3 BEGIN
87 END; 87 INSERT INTO t4_log(x) VALUES(new.x);
88 CREATE TRIGGER r4_4 AFTER INSERT ON t4 WHEN new.x=4 BEGIN 88 END;
89 INSERT INTO t4_log(x) VALUES(new.x); 89 CREATE TRIGGER r4_4 AFTER INSERT ON t4 WHEN new.x=4 BEGIN
90 END; 90 INSERT INTO t4_log(x) VALUES(new.x);
91 INSERT INTO t4 VALUES(1); 91 END;
92 INSERT INTO t4 VALUES(2); 92 INSERT INTO t4 VALUES(1);
93 INSERT INTO t4 VALUES(3); 93 INSERT INTO t4 VALUES(2);
94 INSERT INTO t4 VALUES(4); 94 INSERT INTO t4 VALUES(3);
95 SELECT * FROM t4_log; 95 INSERT INTO t4 VALUES(4);
96 } 96 SELECT * FROM t4_log;
97 } {1 2 3 4} 97 }
98 } {1 2 3 4}
99 }
98 100
99 101
100 102
101 103
102 104
103 finish_test 105 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/tkt1667.test ('k') | third_party/sqlite/src/test/tkt3442.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698