Home
last modified time | relevance | path

Searched refs:db3 (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/test/
Dnotify1.test138 # connections: db, db2 and db3.
144 foreach con {db db2 db3} {
158 execsql { BEGIN ; INSERT INTO t3 VALUES(1, 2) } db3
167 catchsql { SELECT * FROM t1 } db3
175 set rc [catch { db3 unlock_notify {lappend lUnlock db3} } msg]
183 db3 unlock_notify {lappend lUnlock db3}
185 } {db3}
189 } {db3 db}
191 execsql { COMMIT } db3
193 } {db3 db db2}
[all …]
Dshared3.test78 sqlite3 db3 $alternative_name
79 catchsql {select count(*) from sqlite_master} db3
86 catchsql {select count(*) from sqlite_master} db3
89 db3 close
98 catch { sqlite3 db3 $alternative_name }
99 catchsql {select count(*) from sqlite_master} db3
104 db3 close
Dtkt2854.test26 # Connection "db3" has its own cache.
38 sqlite3 db3 ./test.db
40 sqlite3 db3 TEST.DB
61 execsql { SELECT * FROM abc } db3
64 catchsql { INSERT INTO abc VALUES(1, 2, 3) } db3
115 # Try to read the database using connection "db3" (which does not share
118 catchsql { SELECT * FROM abc } db3
146 db3 close
Dshared4.test39 sqlite3 db3 test3.db
49 db3 eval {
67 db3 eval {
93 db3 eval {
109 db3 eval {
141 db3 eval {
186 db3 eval {
214 db3 eval {
233 db3 close
Dshared6.test146 sqlite3 db3 test.db -vfs unix-none
155 execsql { SELECT * FROM t1 } db3
160 execsql { BEGIN; INSERT INTO t1 VALUES(11, 12); } db3
169 execsql { COMMIT } db3
175 db3 close
188 sqlite3 db3 test.db
226 execsql { BEGIN ; ROLLBACK } db3
229 catchsql { SELECT * FROM t1 } db3
234 db3 close
Dlock_common.tcl42 code3 { sqlite3 db3 test.db }
49 proc sql3 {sql} { code3 [list db3 eval $sql] }
59 code3 { db3 close }
Dbackup.test495 foreach {writer file} {db test.db db3 test.db db :memory:} {
501 sqlite3 db3 $file
599 catch {db3 close}
604 sqlite3 db3 $file
637 catch {db3 close}
727 sqlite3 db3 test.db
728 execsql { BEGIN EXCLUSIVE } db3
732 execsql { ROLLBACK } db3
756 db3 close
759 sqlite3 db3 test2.db
[all …]
Dshared.test163 # Open connection db3 to the database. Use a different path to the same
164 # file so that db3 does *not* share the same pager cache as db and db2
167 sqlite3 db3 ./test.db
169 sqlite3 db3 TEST.DB
176 # db3 cannot write to the database.
190 # Turn db's transaction into a write-transaction. db3 should still be
208 catchsql { SELECT * FROM def; } db3
215 # This should prevent db3 from writing to the database, but not from
221 catchsql { SELECT * FROM def; } db3
223 catchsql { INSERT INTO def VALUES('X', 'XI', 'XII'); } db3
[all …]
Dvacuum.test163 sqlite3 db3 test.db
167 -- db3 shares a cache with db2 (but not db - it was opened as
171 } db3
177 } db3
186 } db3
199 } db3
202 db3 close
Dwal5.test83 code3 {db3 close}
87 code3 {sqlite3 db3 test.db}
328 do_test 3.$tn.4 { code3 { do_wal_checkpoint db3 } } {0 2 2}
332 code3 {db3 close}
336 code3 {sqlite3 db3 test.db}
340 do_test 3.$tn.6 { code3 { do_wal_checkpoint db3 } } {0 0 0}
Dwalnoshm.test109 sqlite3 db3 test2.db -vfs tvfsshm
111 execsql { SELECT * FROM t2 } db3
137 db3 close
Dsyscall.test172 sqlite3 db3 test.db3
176 db3 close
Dwal3.test154 # checkpoint everything except the table added by [db3] (checkpointing
158 # database file. Checkpointing after [db3] has committed is therefore a
426 sqlite3 db3 test.db
427 execsql { BEGIN ; SELECT * FROM t1 } db3
434 # connection [db3] holds a lock that prevents the log from being wrapped.
444 # file using [db2]. [db3] is preventing [db2] from wrapping the log
463 db3 eval COMMIT
490 db3 close
De_resolve.test24 ATTACH 'test.db3' AS at2;
48 forcedelete test.db test.db2 test.db3
Dasync.test24 catch {db3 close}
Dwalcksum.test254 sqlite3 db3 test2.db
258 } db3
260 db3 close
Dattach.test93 ATTACH 'test.db' AS db3;
112 } {0 main 2 db2 3 db3 4 db4 5 db5 6 db6 7 db7 8 db8 9 db9}
173 } {0 main 2 db2 3 db3 4 db4 5 db6 6 db7 7 db8 8 db9 9 db10 10 db11}
238 DETACH db3;
Dwal.test441 sqlite3_wal db3 test2.db
442 execsql {PRAGMA integrity_check } db3
444 db3 close
453 foreach handle {db db2 db3} { catch { $handle close } }
493 # that [db2] is still seeing the original snapshot. Then read with [db3].
494 # [db3] should see the newly committed data.
609 set ::STMT [sqlite3_prepare db3 "SELECT * FROM t1" -1 TAIL]
911 catch { db3 close }
Dincrvacuum.test735 sqlite3 db3 invalid.db
738 } db3
740 db3 close
Dpager1.test82 # that connections [db2] and [db3] can see the schema and content.
95 # RESERVED state. Check that connections [db2] and [db3] can still
144 # of any transaction). After this fails, check that [db3] can read
184 # [db2] (still holding SHARED) can still read the old content, but [db3]
197 # is holding. Now, neither [db2] nor [db3] may read the database (as [db]
791 ATTACH 'test.db3' AS three;
810 # The hot-journals associated with test.db2 and test.db3 point to
818 test.db test.db2 test.db3 \
819 test.db-journal test.db2-journal test.db3-journal \
840 ATTACH 'test.db3' AS three;
Dtester.tcl515 catch {db3 close}
525 catch {db3 close}
De_delete.test92 forcedelete test.db3
95 ATTACH 'test.db3' AS aux2;
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_indexed_db_helper_unittest.cc54 const base::string16 db3(base::ASCIIToUTF16("db3")); in TEST_F() local
62 helper->AddIndexedDB(origin2, db3); in TEST_F()
Dbrowsing_data_database_helper_unittest.cc46 const char db3[] = "db3"; in TEST_F() local
54 helper->AddDatabase(origin3, db3, std::string()); in TEST_F()
Dbrowsing_data_database_helper_browsertest.cc101 const char db3[] = "db3"; in IN_PROC_BROWSER_TEST_F() local
107 helper->AddDatabase(origin2, db3, std::string()); in IN_PROC_BROWSER_TEST_F()
127 EXPECT_STREQ(db3, info->database_name.c_str()); in IN_PROC_BROWSER_TEST_F()

12