Home
last modified time | relevance | path

Searched refs:masterDb (Results 1 – 6 of 6) sorted by relevance

/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/rep/txn/
H A DLockPreemptionTest.java48 private Database masterDb; field in LockPreemptionTest
98 masterDb = masterEnv.openDatabase in open()
105 masterDb.put(null, new DatabaseEntry(KEY1), in open()
111 masterDb.put(null, new DatabaseEntry(KEY2), in open()
125 masterDb.close(); in close()
137 masterDb = null; in close()
159 masterDb.put(null, new DatabaseEntry(KEY1), in testPreempted()
193 masterDb.put(null, new DatabaseEntry(KEY1), in testPreemptedWithCursor()
231 masterDb.put(null, new DatabaseEntry(KEY1), in testPreemptedWithReadCommittedCursor()
265 masterDb.put(null, new DatabaseEntry(KEY1), in testPreemptedWithNonTransactionalCursor()
[all …]
H A DRepAutoCommitTest.java92 Database masterDb = master.openDatabase(null, "Foo", dbConfig); in testAutoCommit() local
110 masterDb.put(null, key, data)); in testAutoCommit()
125 masterDb.get(null, key, data, LockMode.DEFAULT)); in testAutoCommit()
128 cursor = masterDb.openCursor(null, null); in testAutoCommit()
159 OperationStatus status = masterDb.put(null, key, data); in testAutoCommit()
174 masterDb.get(null, key, data, LockMode.DEFAULT)); in testAutoCommit()
235 masterDb.close(); in testAutoCommit()
H A DPostLogCommitTest.java77 Database masterDb = master.openDatabase(txn, "foo", dbConfig); in testPostLogCommitException() local
94 final OperationStatus status = masterDb.put(txn, key, data); in testPostLogCommitException()
96 verifyData(txn, masterDb); in testPostLogCommitException()
108 verifyData(null, masterDb); in testPostLogCommitException()
113 verifyData(null, masterDb); in testPostLogCommitException()
116 masterDb.close(); in testPostLogCommitException()
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/rep/
H A DCheckConfigTest.java476 Database masterDb = null; in checkDbConfig() local
478 masterDb = repEnvInfo[0].getEnv().openDatabase(null, "test", in checkDbConfig()
532 if (masterDb != null) { in checkDbConfig()
533 masterDb.close(); in checkDbConfig()
H A DLocalWriteTxnTest.java90 Database masterDb; field in LocalWriteTxnTest
108 masterDb = null; in tearDown()
363 masterDb = openDb(master, true /*replicated*/, true /*txnal*/); in openAndPopulateDBs()
364 repDbs[0] = masterDb; in openAndPopulateDBs()
366 writeRecordsAutoCommit(masterDb); in openAndPopulateDBs()
367 readRecordsNonTxnal(masterDb); in openAndPopulateDBs()
/dports/databases/sqlitestudio/sqlitestudio-3.3.3/SQLiteStudio3/coreSQLiteStudio/services/impl/
H A Dconfigimpl.cpp1118 …Db* masterDb = new DbSqlite3("SQLiteStudio master settings", masterConfigFile, {{DB_PURE_INIT, tru… in mergeMasterConfig() local
1119 if (!masterDb->open()) in mergeMasterConfig()
1121 safe_delete(masterDb); in mergeMasterConfig()
1126 SqlQueryPtr results = masterDb->exec("SELECT [group], key, value FROM settings"); in mergeMasterConfig()
1130 safe_delete(masterDb); in mergeMasterConfig()
1147 masterDb->close(); in mergeMasterConfig()
1148 safe_delete(masterDb); in mergeMasterConfig()