sqlcipher/ext/lsm1/lsm-test
Stephen Lombardo bf3fa86130 Snapshot of upstream SQLite 3.25.0 2018-09-18 12:31:37 -04:00
..
README Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest.h Snapshot of upstream SQLite 3.25.0 2018-09-18 12:31:37 -04:00
lsmtest1.c Snapshot of upstream SQLite 3.25.0 2018-09-18 12:31:37 -04:00
lsmtest2.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest3.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest4.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest5.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest6.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest7.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest8.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest9.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_bt.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_datasource.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_func.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_io.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_main.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_mem.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_tdb.c Snapshot of upstream SQLite 3.25.0 2018-09-18 12:31:37 -04:00
lsmtest_tdb.h Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_tdb2.cc Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_tdb3.c Snapshot of upstream SQLite 3.25.0 2018-09-18 12:31:37 -04:00
lsmtest_tdb4.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_util.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00
lsmtest_win32.c Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -05:00

README


Organization of test case files:

  lsmtest1.c: Data tests. Tests that perform many inserts and deletes on a 
              database file, then verify that the contents of the database can
              be queried.

  lsmtest2.c: Crash tests. Tests that attempt to verify that the database 
              recovers correctly following an application or system crash.

  lsmtest3.c: Rollback tests. Tests that focus on the explicit rollback of
              transactions and sub-transactions.

  lsmtest4.c: Multi-client tests.

  lsmtest5.c: Multi-client tests with a different thread for each client.

  lsmtest6.c: OOM injection tests.

  lsmtest7.c: API tests.

  lsmtest8.c: Writer crash tests. Tests in this file attempt to verify that
              the system recovers and other clients proceed unaffected if
              a process fails in the middle of a write transaction.

              The difference from lsmtest2.c is that this file tests
              live-recovery (recovery from a failure that occurs while other
              clients are still running) whereas lsmtest2.c tests recovery
              from a system or power failure.

  lsmtest9.c: More data tests. These focus on testing that calling
              lsm_work(nMerge=1) to compact the database does not corrupt it.
              In other words, that databases containing block-redirects
              can be read and written.