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

Side by Side Diff: third_party/sqlite/src/test/tkt-5d863f876e.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 # 2011 January 15 1 # 2011 January 15
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 #***********************************************************************
11 # This file implements regression tests for SQLite library. 11 # This file implements regression tests for SQLite library.
12 # 12 #
13 # This file implements tests to verify that ticket [5d863f876e] has been 13 # This file implements tests to verify that ticket [5d863f876e] has been
14 # fixed. 14 # fixed.
15 # 15 #
16 16
17 set testdir [file dirname $argv0] 17 set testdir [file dirname $argv0]
18 source $testdir/tester.tcl 18 source $testdir/tester.tcl
19 source $testdir/lock_common.tcl 19 source $testdir/lock_common.tcl
20 set ::testprefix tkt-5d863f876e
21 ifcapable !wal {finish_test ; return }
20 22
21 do_multiclient_test tn { 23 do_multiclient_test tn {
22 do_test $tn.1 { 24 do_test $tn.1 {
23 sql1 { 25 sql1 {
24 CREATE TABLE t1(a, b); 26 CREATE TABLE t1(a, b);
25 CREATE INDEX i1 ON t1(a, b); 27 CREATE INDEX i1 ON t1(a, b);
26 INSERT INTO t1 VALUES(1, 2); 28 INSERT INTO t1 VALUES(1, 2);
27 INSERT INTO t1 VALUES(3, 4); 29 INSERT INTO t1 VALUES(3, 4);
28 PRAGMA journal_mode = WAL; 30 PRAGMA journal_mode = WAL;
29 VACUUM; 31 VACUUM;
(...skipping 14 matching lines...) Expand all
44 } 46 }
45 } {wal delete} 47 } {wal delete}
46 48
47 do_test $tn.2 { 49 do_test $tn.2 {
48 sql2 { PRAGMA integrity_check } 50 sql2 { PRAGMA integrity_check }
49 } {ok} 51 } {ok}
50 } 52 }
51 53
52 54
53 finish_test 55 finish_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698