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

Side by Side Diff: third_party/sqlite/src/test/tkt-c48d99d690.test

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 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
OLDNEW
1 1
2 set testdir [file dirname $argv0] 2 set testdir [file dirname $argv0]
3 source $testdir/tester.tcl 3 source $testdir/tester.tcl
4 4
5 set ::testprefix tkt-c48d99d690 5 set ::testprefix tkt-c48d99d690
6 6
7 do_test 1.0 { 7 do_test 1.0 {
8 execsql { 8 execsql {
9 CREATE TABLE t1(a, b); 9 CREATE TABLE t1(a, b);
10 CREATE TABLE t2(a, b); 10 CREATE TABLE t2(a, b);
11 INSERT INTO t1 VALUES('one' , 1); 11 INSERT INTO t1 VALUES('one' , 1);
12 INSERT INTO t1 VALUES('two' , 5); 12 INSERT INTO t1 VALUES('two' , 5);
13 INSERT INTO t1 VALUES('two' , 2); 13 INSERT INTO t1 VALUES('two' , 2);
14 INSERT INTO t1 VALUES('three', 3); 14 INSERT INTO t1 VALUES('three', 3);
15 PRAGMA count_changes = 1; 15 PRAGMA count_changes = 1;
16 } 16 }
17 } {} 17 } {}
18 18
19 do_test 1.1 { 19 do_test 1.1 {
20 execsql { INSERT INTO t2 SELECT * FROM t1 } 20 execsql { INSERT INTO t2 SELECT * FROM t1 }
21 } {4} 21 } {4}
22 22
23 do_test 1.2 { execsql VACUUM } {} 23 do_test 1.2 { execsql VACUUM } {}
24 24
25 finish_test 25 finish_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698