1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Add file test/tt3_checkpoint.c that adds a multi-threaded test for blocking checkpoints to threadtest3.

FossilOrigin-Name: 648dd157ef3b7b790764698fd4dd7107c25212c9
This commit is contained in:
dan
2010-11-19 09:58:11 +00:00
parent 08756372d0
commit 24cd616ed8
6 changed files with 170 additions and 12 deletions

View File

@ -207,6 +207,9 @@ do_multiclient_test tn {
# database file, RESTART checkpoints block until readers using any part
# of the log file have finished.
#
# This test case involves running a checkpoint while there exist other
# processes holding all three types of locks.
#
foreach {tn1 checkpoint busy_on ckpt_expected expected} {
1 PASSIVE - {0 5 5} -
2 TYPO - {0 5 5} -