Lines Matching refs:db
26 db eval {
31 file exists test.db-wal
34 file exists test.db-shm
37 db close
38 list [file exists test.db] [file exists test.db-wal] [file exists test.db-shm]
41 sqlite3 db test.db
42 db eval {SELECT length(a) FROM t1}
45 list [file exists test.db] [file exists test.db-wal] [file exists test.db-shm]
48 file_control_persist_wal db -1
51 file_control_persist_wal db 1
54 file_control_persist_wal db -1
57 file_control_persist_wal db 0
60 file_control_persist_wal db -1
63 file_control_persist_wal db 1
66 db close
67 list [file exists test.db] [file exists test.db-wal] [file exists test.db-shm]
75 forcedelete test.db test.db-shm test.db-wal
77 sqlite3 db test.db
78 db eval {
86 expr {[file size test.db-wal]>100000}
89 file_control_persist_wal db 1
90 db close
91 concat [file exists test.db-wal] [file size test.db-wal]
94 sqlite3 db test.db
99 catch {db close}
100 forcedelete test.db test.db-shm test.db-wal
101 sqlite3 db test.db
114 file_control_persist_wal db 1
115 db close
118 file size test.db-wal
121 sqlite3 db test.db