mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix problems with TEMP indices that lead to corrupt databases. These
problems were discovered while working on ticket #317. No sure yet if that ticket is fixed. (CVS 981) FossilOrigin-Name: 01398fb78bab7e5c6f439f2b743f26e82118468a
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: btree.c,v 1.92 2003/04/25 15:37:58 drh Exp $
|
||||
** $Id: btree.c,v 1.93 2003/05/17 17:35:11 drh Exp $
|
||||
**
|
||||
** This file implements a external (disk-based) database using BTrees.
|
||||
** For a detailed discussion of BTrees, refer to
|
||||
@@ -3229,7 +3229,7 @@ static void checkList(
|
||||
FreelistInfo *pInfo = (FreelistInfo*)pOvfl->aPayload;
|
||||
int n = SWAB32(pCheck->pBt, pInfo->nFree);
|
||||
for(i=0; i<n; i++){
|
||||
checkRef(pCheck, SWAB32(pCheck->pBt, pInfo->aFree[i]), zMsg);
|
||||
checkRef(pCheck, SWAB32(pCheck->pBt, pInfo->aFree[i]), zContext);
|
||||
}
|
||||
N -= n;
|
||||
}
|
||||
|
Reference in New Issue
Block a user