Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 214) sorted by relevance

123456789

/sqlite-3.40.0/test/
H A Dcheck.test17 set ::testprefix check
20 ifcapable !check {
27 do_test check-1.1 {
35 do_test check-1.2 {
41 do_test check-1.3 {
46 do_test check-1.4 {
51 do_test check-1.5 {
56 do_test check-1.6 {
61 do_test check-1.7 {
66 do_test check-1.8 {
[all …]
H A Dfts4check.test41 # 1.1: Run the integrity check code to check it passes.
48 # Build an FTS table and check the integrity-check passes.
54 # integrity-check test to fail.
72 INSERT INTO t1 (t1) VALUES('integrity-check')
85 # 2.1: Run the integrity check code to check it passes.
107 INSERT INTO t2 (t2) VALUES('integrity-check')
119 # 3.1: Run the integrity check code to check it passes.
166 INSERT INTO t4(t4) VALUES('integrity-check');
201 INSERT INTO t5(t5) VALUES('integrity-check');
207 INSERT INTO t5(t5) VALUES('integrity-check');
[all …]
H A Dfts4opt.test80 do_execsql_test 1.3 { INSERT INTO t2(t2) VALUES('integrity-check') }
82 do_execsql_test 1.4 { INSERT INTO t2(t2) VALUES('integrity-check') }
102 do_execsql_test 1.7 { INSERT INTO t2(t2) VALUES('integrity-check') }
141 do_execsql_test 2.3 { INSERT INTO t2(t2) VALUES('integrity-check') }
143 do_execsql_test 2.4 { INSERT INTO t2(t2) VALUES('integrity-check') }
163 do_execsql_test 2.7 { INSERT INTO t2(t2) VALUES('integrity-check') }
179 INSERT INTO fts(fts) VALUES('integrity-check');
190 INSERT INTO fts(fts) VALUES('integrity-check');
195 INSERT INTO fts(fts) VALUES('integrity-check');
H A Dwalthread.test74 # -check SCRIPT Script to run after test.
85 set P(check) {
107 -check {
108 set P(check) [lshift A]
207 if {[catch $P(check) msg]} { set res $msg }
208 do_test $P(testname).check [list set {} $res] ""
228 # 2) Running integrity check.
424 } -check {
426 puts " Final integrity-check says: [db eval {PRAGMA integrity_check}]"
449 # busy-handler is not required. Disable it to check that this is true.
H A Dfts3misc.test237 INSERT INTO vt0(vt0) VALUES('integrity-check');
249 INSERT INTO vt0(vt0) VALUES('integrity-check');
257 INSERT INTO vt0(vt0) VALUES('integrity-check');
266 INSERT INTO vt0(vt0) VALUES('integrity-check');
283 INSERT INTO vt0(vt0) VALUES('integrity-check');
297 INSERT INTO t1(t1) VALUES('integrity-check');
H A Dwalro.test139 # Now check that if the readonly_shm option is not supplied, or if it
175 # Test cases 1.4.* check that checkpoints and log wraps don't prevent
185 # check the read-only connection can still read.
201 # of data - causing a cache spill and a log wrap. Then check that the
237 # Test cases 2.* check that a read-only connection may read the
H A Dfts3fuzz001.test88 | 4064: 69 74 79 3d 63 68 65 63 6b 09 02 02 1b 72 65 62 ity=check....reb
99 INSERT INTO t1(t1) VALUES('integrity-check');
109 INSERT INTO t1(t1) VALUES('integrity-check');
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5integrity.test29 INSERT INTO xx(xx) VALUES('integrity-check');
37 INSERT INTO yy(yy) VALUES('integrity-check');
59 # check that integrity-check picks it up.
71 INSERT INTO aa(aa) VALUES('integrity-check');
78 INSERT INTO aa(aa) VALUES('integrity-check');
85 INSERT INTO aa(aa) VALUES('integrity-check');
92 INSERT INTO aa(aa) VALUES('integrity-check');
100 INSERT INTO aa(aa) VALUES('integrity-check');
142 INSERT INTO gg(gg) VALUES('integrity-check');
150 INSERT INTO gg(gg) VALUES('integrity-check');
[all …]
H A Dfts5misc.test76 INSERT INTO vt0(vt0) VALUES('integrity-check');
83 INSERT INTO vt0(vt0) VALUES('integrity-check');
99 INSERT INTO vt0(vt0) VALUES('integrity-check');
106 INSERT INTO vt0(vt0) VALUES('integrity-check');
121 INSERT INTO vt0(vt0) VALUES('integrity-check');
139 INSERT INTO vt0(vt0) VALUES('integrity-check');
150 INSERT INTO vt0(vt0) VALUES('integrity-check');
171 INSERT INTO vt0(vt0) VALUES('integrity-check');
230 INSERT INTO vt0(vt0) VALUES('integrity-check');
244 INSERT INTO t1(t1) VALUES('integrity-check');
[all …]
H A Dfts5unindexed.test34 do_execsql_test 1.4 { INSERT INTO t1(t1) VALUES('integrity-check') } {}
36 do_execsql_test 1.6 { INSERT INTO t1(t1) VALUES('integrity-check') } {}
43 do_execsql_test 1.10 { INSERT INTO t1(t1) VALUES('integrity-check') } {}
45 do_execsql_test 1.12 { INSERT INTO t1(t1) VALUES('integrity-check') } {}
58 INSERT INTO t2(t2) VALUES('integrity-check');
68 INSERT INTO t4(t4) VALUES('integrity-check');
74 INSERT INTO t4(t4) VALUES('integrity-check');
H A Dfts5aa.test67 INSERT INTO t1(t1) VALUES('integrity-check');
90 do_execsql_test 3.$i.2 { INSERT INTO t1(t1) VALUES('integrity-check') }
156 INSERT INTO t1(t1) VALUES('integrity-check')
168 INSERT INTO t1(t1) VALUES('integrity-check')
214 execsql { INSERT INTO t1(t1) VALUES('integrity-check'); }
229 INSERT INTO t1(t1) VALUES('integrity-check');
271 execsql { INSERT INTO t1(t1) VALUES('integrity-check'); }
377 INSERT INTO t1(t1) VALUES('integrity-check');
409 INSERT INTO t1(t1) VALUES('integrity-check');
416 INSERT INTO t1(t1) VALUES('integrity-check');
[all …]
H A Dfts5corrupt2.test47 # * an integrity-check, and
50 # and check that the corruption is detected in both cases. The
70 catchsql { INSERT INTO t1(t1) VALUES('integrity-check') }
82 INSERT INTO t1(t1) VALUES('integrity-check');
93 # bytes. Then test both the integrity-check detects the corruption.
110 INSERT INTO t1(t1) VALUES('integrity-check');
123 INSERT INTO t1(t1) VALUES('integrity-check');
168 catchsql { INSERT INTO x3(x3) VALUES('integrity-check') }
242 catchsql { INSERT INTO x5(x5) VALUES('integrity-check') }
H A Dfts5simple.test36 INSERT INTO t1(t1) VALUES('integrity-check');
51 INSERT INTO t1(t1) VALUES('integrity-check');
67 INSERT INTO t1(t1) VALUES('integrity-check');
84 INSERT INTO t11(t11) VALUES('integrity-check');
157 INSERT INTO tt(tt) VALUES('integrity-check');
324 INSERT INTO xy(xy) VALUES('integrity-check');
363 INSERT INTO x2(x2) VALUES('integrity-check');
428 INSERT INTO x1(x1) VALUES('integrity-check');
447 INSERT INTO x1(x1) VALUES('integrity-check');
459 INSERT INTO x1(x1) VALUES('integrity-check');
[all …]
H A Dfts5corrupt.test12 # This file tests that the FTS5 'integrity-check' command detects
41 do_execsql_test 1.2 { INSERT INTO t1(t1) VALUES('integrity-check') }
49 catchsql { INSERT INTO t1(t1) VALUES('integrity-check') }
59 catchsql { INSERT INTO t1(t1) VALUES('integrity-check') }
77 execsql { INSERT INTO t2(t2) VALUES('integrity-check') }
H A Dfts5update.test69 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
73 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
79 INSERT INTO t1(t1) VALUES('integrity-check');
86 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
106 INSERT INTO x2(x2) VALUES('integrity-check');
115 INSERT INTO x2(x2) VALUES('integrity-check');
H A Dfts5rebuild.test31 INSERT INTO f1(f1) VALUES('integrity-check');
39 INSERT INTO f1(f1) VALUES('integrity-check');
48 INSERT INTO f1(f1) VALUES('integrity-check');
53 INSERT INTO f1(f1) VALUES('integrity-check');
H A Dfts5optimize.test57 INSERT INTO t1(t1) VALUES('integrity-check');
65 INSERT INTO t1(t1) VALUES('integrity-check');
89 INSERT INTO t1(t1) VALUES('integrity-check');
103 INSERT INTO t1(t1) VALUES('integrity-check');
H A Dfts5simple2.test152 INSERT INTO t1(t1) VALUES('integrity-check');
163 INSERT INTO t1(t1) VALUES('integrity-check');
185 INSERT INTO t1(t1) VALUES('integrity-check');
210 INSERT INTO t1(t1) VALUES('integrity-check');
280 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
296 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
313 INSERT INTO t2(t2) VALUES('integrity-check');
H A Dfts5bigpl.test38 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
47 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
60 execsql { INSERT INTO t1(t1) VALUES('integrity-check') }
H A Dfts5content.test132 INSERT INTO fts_idx(fts_idx) VALUES('integrity-check');
137 INSERT INTO fts_idx(fts_idx) VALUES('integrity-check');
142 INSERT INTO fts_idx(fts_idx) VALUES('integrity-check');
213 do_execsql_test 4.6 { INSERT INTO t2(t2) VALUES('integrity-check') } {}
218 INSERT INTO t2(t2) VALUES('integrity-check');
/sqlite-3.40.0/ext/repair/
H A Dsqlite3_checker.tcl100 --batchsize N Number of rows to check per transaction
102 --freelist Perform a freelist check
104 --index NAME Run a check of the index NAME
108 --table NAME Run a check of all indexes for table NAME
/sqlite-3.40.0/ext/rbu/
H A Drbu1.test227 set check [dbfilecksum rbu.db]
254 do_test $tn3.1.$tn2.$tn.7 { expr {$check == [dbfilecksum rbu.db]} } 1
257 do_test $tn3.1.$tn2.$tn.9 { expr {$check == [dbfilecksum rbu.db]} } 0
393 set check [dbfilecksum rbu.db]
412 do_test $tn3.4.$tn2.$tn.5 { expr {$check == [dbfilecksum rbu.db]} } 1
415 do_test $tn3.4.$tn2.$tn.7 { expr {$check == [dbfilecksum rbu.db]} } 0
442 set check [dbfilecksum rbu.db]
461 do_test $tn3.5.$tn2.$tn.5 { expr {$check == [dbfilecksum rbu.db]} } 1
464 do_test $tn3.5.$tn2.$tn.7 { expr {$check == [dbfilecksum rbu.db]} } 0
513 set check [dbfilecksum rbu.db]
[all …]
H A Drbufts.test57 INSERT INTO xx(xx) VALUES('integrity-check');
76 INSERT INTO xx(xx) VALUES('integrity-check');
86 INSERT INTO ccc_fts(ccc_fts) VALUES('integrity-check');
100 INSERT INTO ccc_fts(ccc_fts) VALUES('integrity-check');
/sqlite-3.40.0/ext/rtree/
H A Drtree.c4276 memset(&check, 0, sizeof(check)); in rtreeCheckTable()
4277 check.db = db; in rtreeCheckTable()
4278 check.zDb = zDb; in rtreeCheckTable()
4279 check.zTab = zTab; in rtreeCheckTable()
4297 check.rc = SQLITE_OK; in rtreeCheckTable()
4306 if( check.nDim<1 ){ in rtreeCheckTable()
4316 if( check.nDim>=1 ){ in rtreeCheckTable()
4320 rtreeCheckCount(&check, "_rowid", check.nLeaf); in rtreeCheckTable()
4321 rtreeCheckCount(&check, "_parent", check.nNonLeaf); in rtreeCheckTable()
4332 if( check.rc==SQLITE_OK ) check.rc = rc; in rtreeCheckTable()
[all …]
/sqlite-3.40.0/
H A DREADME.md16 then you are looking at a mirror. The names of check-ins and
18 names for those objects. The official names for check-ins are
19 found in a footer on the check-in comment for authorized mirrors.
20 The official check-in name can also be seen in the `manifest.uuid` file
22 Git-name, when communicating about an SQLite check-in.
33 * Latest trunk check-in as
43 * For other check-ins, substitute an appropriate branch name or
46 to locate the check-in desired, click on its information page link,
50 If you do want to use Fossil to check out the source tree,
66 fossil update trunk ;# latest trunk check-in
[all …]

123456789