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 #*************************************************************************
13 source [file join [file dirname [info script]] fts5_common.tcl]
14 source $testdir/lock_common.tcl
16 set testprefix fts5multiclient
19 foreach_detail_mode $testprefix {
21 do_multiclient_test tn {
24 sql1 { CREATE VIRTUAL TABLE t1 USING fts5(x, detail=%DETAIL%) }
25 sql1 { INSERT INTO t1 VALUES('a b c') }
26 sql2 { SELECT rowid FROM t1('b') }
30 sql2 { INSERT INTO t1 VALUES('a b c') }
31 sql1 { SELECT rowid FROM t1('b') }
35 sql2 { INSERT INTO t1 VALUES('a b c') }
36 sql1 { SELECT rowid FROM t1('b') }
40 sql2 { INSERT INTO t1 VALUES('a b c') }
41 sql1 { INSERT INTO t1 VALUES('a b c') }
42 sql3 { INSERT INTO t1(t1) VALUES('integrity-check') }
45 };# do_multiclient_test
46 };# foreach_detail_mode