Lines Matching refs:db2
28 sqlite3 db2 test.db
43 # Fails because the 'echo' module has not been registered with connection db2
45 catchsql { SELECT * FROM t1 } db2
49 execsql { SELECT * FROM t0 } db2
53 register_echo_module [sqlite3_connection_pointer db2]
57 # Works after the module is registered with db2
59 execsql { SELECT * FROM t1 } db2
63 # virtual table t1 using [db2]. That this returns an SQLITE_LOCKED error
74 catchsql { SELECT * FROM t1 } db2
77 catchsql { SELECT * FROM t0 } db2
84 execsql { SELECT * FROM t1 } db2
88 # [db2]. This causes the schema to be reset internally. Verify that this
92 1 db db2
93 2 db db2
94 3 db2 db
113 set error [catchsql { DROP TABLE t1 } db2]
124 execsql { SELECT * FROM t3 } db2
134 } db2
155 execsql { SELECT * FROM t4 } db2
159 execsql { SELECT * FROM t4 } db2
166 db2 close
167 sqlite3 db2 test.db
168 register_echo_module [sqlite3_connection_pointer db2]
175 } db2
178 db2 close
179 sqlite3 db2 test.db
180 register_echo_module [sqlite3_connection_pointer db2]
187 } db2
190 db2 close
191 sqlite3 db2 test.db
192 register_echo_module [sqlite3_connection_pointer db2]
199 } db2
203 db2 close
204 sqlite3 db2 test.db
205 register_echo_module [sqlite3_connection_pointer db2]
209 } db2
212 db2 close
213 sqlite3 db2 test.db
214 register_echo_module [sqlite3_connection_pointer db2]
218 } db2
221 db2 close
222 sqlite3 db2 test.db
223 register_echo_module [sqlite3_connection_pointer db2]
231 db2 close
240 sqlite3 db2 test.db
249 # Drop the virtual table using [db2]. The sqlite3_vtab object belonging
251 execsql { DROP TABLE rt } db2
257 db2 close
265 sqlite3 db2 test.db
271 execsql { DROP TABLE ft } db2
274 db2 close