1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Simplifications and optimizations. Also: disable the corrupt.test for now. (CVS 1924)

FossilOrigin-Name: 8fd65e704888a8e2f4a712a94fd0e3f866c10ef3
This commit is contained in:
drh
2004-08-31 13:45:11 +00:00
parent 4e5ffc5f8d
commit 855eb1cf02
11 changed files with 43 additions and 79 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.183 2004/08/30 16:52:18 drh Exp $
** $Id: btree.c,v 1.184 2004/08/31 13:45:11 drh Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
@@ -4075,7 +4075,7 @@ static void checkList(
}
if( isFreeList ){
int n = get4byte(&pOvfl[4]);
if( n>=pCheck->pBt->usableSize/4-8 ){
if( n>pCheck->pBt->usableSize/4-8 ){
sprintf(zMsg, "freelist leaf count too big on page %d", iPage);
checkAppendMsg(pCheck, zContext, zMsg);
N--;