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. The
12 # focus of this script is testing the FTS5 module.
14 # Specifically, it tests transactions and savepoints
17 source [file join [file dirname [info script]] fts5_common.tcl]
20 # If SQLITE_ENABLE_FTS5 is defined, omit this file.
26 foreach_detail_mode $testprefix {
29 CREATE VIRTUAL TABLE t1 USING fts5(a, detail=%DETAIL%);
34 INSERT INTO t1 VALUES('a b c');
35 INSERT INTO t1 VALUES('d e f');
37 INSERT INTO t1 VALUES('g h i');
39 INSERT INTO t1 VALUES('j k l');
41 INSERT INTO t1 VALUES('m n o');
43 INSERT INTO t1 VALUES('p q r');
46 INSERT INTO t1 VALUES('s t u');
52 INSERT INTO t1(t1) VALUES('integrity-check');
57 INSERT INTO t1 VALUES('v w x');