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

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

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « third_party/sqlite/src/test/tkt2686.test ('k') | third_party/sqlite/src/test/tkt2820.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 December 02 1 # 2007 December 02
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 30 matching lines...) Expand all
41 db close 41 db close
42 sqlite3 db test.db 42 sqlite3 db test.db
43 integrity_check tkt2817-1.3 43 integrity_check tkt2817-1.3
44 44
45 45
46 # These tests - tkt2817-2.* - are the same as the previous block, except 46 # These tests - tkt2817-2.* - are the same as the previous block, except
47 # for the fact that the temp-table and the main table do not share the 47 # for the fact that the temp-table and the main table do not share the
48 # same name. #2817 did not cause a problem with these tests. 48 # same name. #2817 did not cause a problem with these tests.
49 # 49 #
50 db close 50 db close
51 file delete -force test.db 51 forcedelete test.db
52 sqlite3 db test.db 52 sqlite3 db test.db
53 do_test tkt2817-2.0 { 53 do_test tkt2817-2.0 {
54 execsql { 54 execsql {
55 CREATE TEMP TABLE tmp(a, b, c); 55 CREATE TEMP TABLE tmp(a, b, c);
56 INSERT INTO tmp VALUES(1, 'abc', 'def'); 56 INSERT INTO tmp VALUES(1, 'abc', 'def');
57 INSERT INTO tmp VALUES(2, 'ghi', 'jkl'); 57 INSERT INTO tmp VALUES(2, 'ghi', 'jkl');
58 } 58 }
59 } {} 59 } {}
60 do_test tkt2817-2.1 { 60 do_test tkt2817-2.1 {
61 execsql { 61 execsql {
62 CREATE TABLE main.tbl(a, b, c); 62 CREATE TABLE main.tbl(a, b, c);
63 CREATE INDEX main.tbli ON tbl(a, b, c); 63 CREATE INDEX main.tbli ON tbl(a, b, c);
64 INSERT INTO main.tbl SELECT a, b, c FROM temp.tmp; 64 INSERT INTO main.tbl SELECT a, b, c FROM temp.tmp;
65 } 65 }
66 } {} 66 } {}
67 integrity_check tkt2817-2.2 67 integrity_check tkt2817-2.2
68 db close 68 db close
69 sqlite3 db test.db 69 sqlite3 db test.db
70 integrity_check tkt2817-2.3 70 integrity_check tkt2817-2.3
71 71
72 finish_test 72 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/tkt2686.test ('k') | third_party/sqlite/src/test/tkt2820.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698