mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Conjecture: a journal header with nRec==0 must be the last header in the
journal. Add asserts to make this conjecture explicit. (CVS 6132) FossilOrigin-Name: 15b5b5f90c2ffa79155cdc2dbc4fb5583cb72017
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
#
|
||||
# This file is focused on testing the pcache module.
|
||||
#
|
||||
# $Id: pcache.test,v 1.2 2008/09/05 05:29:09 danielk1977 Exp $
|
||||
# $Id: pcache.test,v 1.3 2009/01/07 15:33:46 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -64,7 +64,7 @@ do_test pcache-1.5 {
|
||||
pcache_stats
|
||||
} {current 11 max 20 min 20 recyclable 1}
|
||||
|
||||
do_test pcache-1.6 {
|
||||
do_test pcache-1.6.1 {
|
||||
execsql {
|
||||
BEGIN;
|
||||
SELECT * FROM sqlite_master;
|
||||
@ -76,7 +76,7 @@ do_test pcache-1.6 {
|
||||
# single pinned page in its cache. Connection [db] is holding 10 dirty
|
||||
# pages. It cannot recycle them because of the read lock held by db2.
|
||||
#
|
||||
do_test pcache-1.6 {
|
||||
do_test pcache-1.6.2 {
|
||||
execsql {
|
||||
CREATE INDEX i1 ON t1(a, b);
|
||||
CREATE INDEX i2 ON t2(a, b);
|
||||
@ -144,4 +144,3 @@ do_test pcache-1.13 {
|
||||
} {current 15 max 15 min 10 recyclable 15}
|
||||
|
||||
finish_test
|
||||
|
||||
|
Reference in New Issue
Block a user