Home
last modified time | relevance | path

Searched refs:TestDb (Results 1 – 15 of 15) sorted by relevance

/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest.h74 struct TestDb { struct
79 int (*xClose)(TestDb *); argument
87 int (*xBegin)(TestDb *, int);
88 int (*xCommit)(TestDb *, int);
89 int (*xRollback)(TestDb *, int);
98 int test_kc_close(TestDb *);
108 int test_mdb_close(TestDb *);
161 void testClose(TestDb **ppDb);
179 void testScanCompare(TestDb *, TestDb *, int, void *, int, void *, int, int *);
180 void testFetchCompare(TestDb *, TestDb *, void *, int, int *);
[all …]
H A Dlsmtest_tdb.h19 typedef struct TestDb TestDb; typedef
41 int tdb_close(TestDb *pDb);
99 int tdb_begin(TestDb *pDb, int iLevel);
100 int tdb_commit(TestDb *pDb, int iLevel);
101 int tdb_rollback(TestDb *pDb, int iLevel);
106 int tdb_transaction_support(TestDb *pDb);
112 const char *tdb_library_name(TestDb *pDb);
137 lsm_db *tdb_lsm(TestDb *pDb);
143 int tdb_lsm_multithread(TestDb *pDb);
159 void tdb_lsm_application_crash(TestDb *pDb);
[all …]
H A Dlsmtest_tdb.c41 TestDb base;
64 TestDb *pTestDb, in test_leveldb_write()
84 TestDb *pTestDb, in test_leveldb_fetch()
108 TestDb *pTestDb, in test_leveldb_scan()
185 TestDb **ppDb in test_leveldb_open()
272 TestDb *pTestDb, in kc_scan()
288 TestDb **ppDb in kc_open()
350 TestDb *pTestDb, in mdb_scan()
366 TestDb **ppDb in mdb_open()
407 TestDb base;
[all …]
H A Dlsmtest_tdb2.cc10 TestDb base;
45 *ppDb = (TestDb *)pKcDb; in test_kc_open()
49 int test_kc_close(TestDb *pDb){ in test_kc_close()
68 int test_kc_delete(TestDb *pDb, void *pKey, int nKey){ in test_kc_delete()
77 TestDb *pDb, in test_kc_delete_range()
121 TestDb *pDb, in test_kc_fetch()
212 TestDb base;
222 TestDb **ppDb in test_mdb_open()
246 *ppDb = (TestDb *)pMdb; in test_mdb_open()
250 int test_mdb_close(TestDb *pDb){ in test_mdb_close()
[all …]
H A Dlsmtest_tdb3.c652 TestDb *pTestDb, in test_lsm_scan()
943 TestDb **ppDb in testLsmOpen()
1033 TestDb **ppDb in test_lsm_open()
1042 TestDb **ppDb in test_lsm_small_open()
1052 TestDb **ppDb in test_lsm_lomem_open()
1067 TestDb **ppDb in test_lsm_lomem2_open()
1080 TestDb **ppDb in test_lsm_zip_open()
1155 TestDb *pDb, in tdb_lsm_config_work_hook()
1167 TestDb *pDb, in tdb_lsm_write_hook()
1402 TestDb **ppDb in test_lsm_mt2()
[all …]
H A Dlsmtest_main.c31 TestDb *pDb, /* Database handle */ in testFetch()
89 void testBegin(TestDb *pDb, int iTrans, int *pRc){ in testBegin()
139 TestDb *pControl, in testFetchCompare()
140 TestDb *pDb, in testFetchCompare()
168 TestDb *pDb;
306 void testClose(TestDb **ppDb){ in testClose()
312 TestDb *pDb = 0; in testOpen()
324 void testReopen(TestDb **ppDb, int *pRc){ in testReopen()
510 static lsm_db *configure_lsm_db(TestDb *pDb){ in configure_lsm_db()
621 TestDb *pDb; in do_speed_test2()
[all …]
H A Dlsmtest_tdb4.c51 TestDb base; /* Base class */
327 static int bt_close(TestDb *pTestDb){ in bt_close()
384 TestDb *pTestDb, in bt_delete_range()
436 TestDb *pTestDb, in bt_fetch()
483 TestDb *pTestDb, in bt_scan()
555 static int bt_begin(TestDb *pTestDb, int iLvl){ in bt_begin()
687 TestDb **ppDb in test_bt_open()
767 TestDb **ppDb in test_fbt_open()
776 TestDb **ppDb in test_fbts_open()
789 bt_db *tdb_bt(TestDb *pDb){ in tdb_bt()
[all …]
H A Dlsmtest2.c74 TestDb *pDb, /* Database handle */ in testCksumDatabase()
87 int testCountDatabase(TestDb *pDb){ in testCountDatabase()
188 TestDb *pDb; in testSetupSavedLsmdb()
216 TestDb *pDb; in testCompareCksumLsmdb()
254 TestDb *pDb;
305 TestDb *pDb; in crash_test1()
371 TestDb *pDb; in crash_test2()
430 TestDb *pDb; in crash_test3()
H A Dlsmtest1.c95 int testControlDb(TestDb **ppDb){ in testControlDb()
104 TestDb *pDb, /* Database handle */ in testDatasourceFetch()
154 TestDb *pDb, /* Database handle being tested */ in testDbContents()
167 TestDb *pDb2 = 0; in testDbContents()
254 void testReopenRecover(TestDb **ppDb, int *pRc){ in testReopenRecover()
276 TestDb *pDb; in doDataTest1()
384 TestDb *pControl, in testCompareDb()
385 TestDb *pDb, in testCompareDb()
431 TestDb *pDb; in doDataTest2()
432 TestDb *pControl; in doDataTest2()
[all …]
H A Dlsmtest3.c39 TestDb *pDb; in testCksumArrayNew()
98 void testWriteDatasource(TestDb *pDb, Datasource *pData, int i, int *pRc){ in testWriteDatasource()
108 void testDeleteDatasource(TestDb *pDb, Datasource *pData, int i, int *pRc){ in testDeleteDatasource()
119 TestDb *pDb, /* Database to write to */ in testWriteDatasourceRange()
132 TestDb *pDb, /* Database to write to */ in testDeleteDatasourceRange()
156 TestDb *pDb; in rollback_test_1()
H A Dlsmtest8.c27 TestDb *pDb, in doSetupStep()
53 TestDb *pDb, in doSetupStepArray()
66 static void setupDatabase1(TestDb *pDb, Datasource **ppData){ in setupDatabase1()
165 TestDb *pDb = 0; in doLiveRecovery()
213 TestDb *pDb = 0; in doWriterCrash1()
242 TestDb *pDb = 0; in doWriterCrash2()
H A Dlsmtest5.c144 TestDb *pDb, /* Database connection handle */ in dbComputeCksum()
178 TestDb *pDb, /* Database connection handle */ in dbReadOperation()
206 TestDb *pDb, /* Database connection handle */ in dbWriteOperation()
510 TestDb *pDb; /* Database handle */ in mt1Main()
594 TestDb *pDb; in do_test_mt1()
H A Dlsmtest4.c46 TestDb *pDb; /* First database connection (writer) */ in do_mc_test()
53 TestDb *pDb; /* Connection handle */ in do_mc_test()
H A Dlsmtest9.c41 TestDb *pDb; in doDataTest4()
42 TestDb *pControl; in doDataTest4()
H A Dlsmtest7.c112 TestDb *pDb; in do_test_api1()