3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
10 #***********************************************************************
11 # This file implements regression tests for SQLite library.
13 # This file implements tests to verify that ticket [5d863f876e] has been
17 set testdir [file dirname $argv0]
18 source $testdir/tester.tcl
19 source $testdir/lock_common.tcl
20 set ::testprefix tkt-5d863f876e
21 if {![wal_is_capable]} {finish_test ; return }
23 do_multiclient_test tn {
26 CREATE TABLE t1(a, b);
27 CREATE INDEX i1 ON t1(a, b);
28 INSERT INTO t1 VALUES(1, 2);
29 INSERT INTO t1 VALUES(3, 4);
30 PRAGMA journal_mode = WAL;
32 PRAGMA journal_mode = DELETE;
37 sql2 { SELECT * FROM t1 }
42 INSERT INTO t1 VALUES(5, 6);
43 PRAGMA journal_mode = WAL;
45 PRAGMA journal_mode = DELETE;
50 sql2 { PRAGMA integrity_check }