Lines Matching full:db
49 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
50 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
52 ATF_REQUIRE_THROW(sqlite::error, db.exec("SELECT * FROM foo")); in ATF_TEST_CASE_BODY()
54 db.exec("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
61 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
62 create_test_table(raw(db)); in ATF_TEST_CASE_BODY()
63 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
74 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
75 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
85 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
86 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
88 ATF_REQUIRE_THROW(sqlite::error, db.exec("SELECT * FROM foo")); in ATF_TEST_CASE_BODY()
90 db.exec("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
97 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
98 db.exec("CREATE TABLE foo (a INTEGER PRIMARY KEY)"); in ATF_TEST_CASE_BODY()
99 db.exec("INSERT INTO foo VALUES (3)"); in ATF_TEST_CASE_BODY()
100 sqlite::statement stmt = db.create_statement( in ATF_TEST_CASE_BODY()
109 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
110 db.exec("CREATE TABLE foo (a INTEGER PRIMARY KEY, b INTEGER, c TEXT);" in ATF_TEST_CASE_BODY()
112 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
122 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
123 db.exec("CREATE TABLE foo (first INTEGER PRIMARY KEY, second TEXT);" in ATF_TEST_CASE_BODY()
125 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
136 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
137 db.exec("CREATE TABLE foo (first INTEGER PRIMARY KEY);" in ATF_TEST_CASE_BODY()
139 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
150 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
151 db.exec("CREATE TABLE foo (a_blob BLOB," in ATF_TEST_CASE_BODY()
158 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
175 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
176 db.exec("CREATE TABLE foo (a INTEGER PRIMARY KEY);" in ATF_TEST_CASE_BODY()
178 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
190 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
191 db.exec("CREATE TABLE foo (bar INTEGER PRIMARY KEY, " in ATF_TEST_CASE_BODY()
194 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
207 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
208 db.exec("CREATE TABLE foo (bar INTEGER PRIMARY KEY, " in ATF_TEST_CASE_BODY()
211 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
227 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
228 db.exec("CREATE TABLE foo (a INTEGER, b BLOB, c INTEGER);" in ATF_TEST_CASE_BODY()
230 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
242 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
243 db.exec("CREATE TABLE foo (a INTEGER, b DOUBLE, c INTEGER);" in ATF_TEST_CASE_BODY()
245 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
255 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
256 db.exec("CREATE TABLE foo (a TEXT, b INTEGER, c TEXT);" in ATF_TEST_CASE_BODY()
258 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
268 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
269 db.exec("CREATE TABLE foo (a TEXT, b INTEGER, c TEXT);" in ATF_TEST_CASE_BODY()
271 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
281 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
282 db.exec("CREATE TABLE foo (a TEXT, b INTEGER, c TEXT);" in ATF_TEST_CASE_BODY()
284 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
294 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
295 db.exec("CREATE TABLE foo (a INTEGER, b TEXT, c INTEGER);" in ATF_TEST_CASE_BODY()
297 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
307 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
308 db.exec("CREATE TABLE foo (a BLOB);" in ATF_TEST_CASE_BODY()
310 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
320 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
321 db.exec("CREATE TABLE foo (a TEXT);" in ATF_TEST_CASE_BODY()
323 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
333 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
334 db.exec("CREATE TABLE foo (a INTEGER, b BLOB, c INTEGER);" in ATF_TEST_CASE_BODY()
336 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
348 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
349 db.exec("CREATE TABLE foo (a INTEGER);" in ATF_TEST_CASE_BODY()
351 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
364 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
365 db.exec("CREATE TABLE foo (a INTEGER, b DOUBLE, c INTEGER);" in ATF_TEST_CASE_BODY()
367 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
377 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
378 db.exec("CREATE TABLE foo (a INTEGER);" in ATF_TEST_CASE_BODY()
380 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
393 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
394 db.exec("CREATE TABLE foo (a TEXT, b INTEGER, c TEXT);" in ATF_TEST_CASE_BODY()
396 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
406 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
407 db.exec("CREATE TABLE foo (a TEXT);" in ATF_TEST_CASE_BODY()
409 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
422 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
423 db.exec("CREATE TABLE foo (a TEXT, b INTEGER, c TEXT);" in ATF_TEST_CASE_BODY()
425 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
435 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
436 db.exec("CREATE TABLE foo (a TEXT);" in ATF_TEST_CASE_BODY()
438 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
451 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
452 db.exec("CREATE TABLE foo (a INTEGER, b TEXT, c INTEGER);" in ATF_TEST_CASE_BODY()
454 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
464 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
465 db.exec("CREATE TABLE foo (a INTEGER);" in ATF_TEST_CASE_BODY()
467 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
480 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
481 db.exec("CREATE TABLE foo (a BLOB);" in ATF_TEST_CASE_BODY()
483 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
493 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
494 db.exec("CREATE TABLE foo (a TEXT);" in ATF_TEST_CASE_BODY()
496 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
506 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
507 db.exec("CREATE TABLE foo (a TEXT);" in ATF_TEST_CASE_BODY()
509 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
522 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
523 db.exec("CREATE TABLE foo (a TEXT);" in ATF_TEST_CASE_BODY()
525 sqlite::statement stmt = db.create_statement("SELECT * FROM foo"); in ATF_TEST_CASE_BODY()
537 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
538 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
556 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
557 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
572 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
573 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
588 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
589 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
604 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
605 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
619 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
620 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()
636 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
637 sqlite::statement stmt = db.create_statement("SELECT 3, :foo"); in ATF_TEST_CASE_BODY()
656 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
657 sqlite::statement stmt = db.create_statement("SELECT 3, :foo"); in ATF_TEST_CASE_BODY()
673 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
674 sqlite::statement stmt = db.create_statement("SELECT 3, ?, ?"); in ATF_TEST_CASE_BODY()
682 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
683 sqlite::statement stmt = db.create_statement("SELECT 3, :foo, ?, :bar"); in ATF_TEST_CASE_BODY()
692 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
693 sqlite::statement stmt = db.create_statement("SELECT 3, :foo, ?, :bar"); in ATF_TEST_CASE_BODY()
702 sqlite::database db = sqlite::database::in_memory(); in ATF_TEST_CASE_BODY() local
703 sqlite::statement stmt = db.create_statement("SELECT 3, ?"); in ATF_TEST_CASE_BODY()