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:
@@ -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--;
|
||||
|
Reference in New Issue
Block a user