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

Fix a problem in btree.c preventing an OOM error from being propagated up to the caller. (CVS 5677)

FossilOrigin-Name: 0b8ee83f2ebadab099ccd6490f6995949dafdd6f
This commit is contained in:
danielk1977
2008-09-05 05:02:46 +00:00
parent 0a732f59b0
commit 518002e4ba
4 changed files with 34 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.508 2008/09/02 14:07:24 danielk1977 Exp $
** $Id: btree.c,v 1.509 2008/09/05 05:02:47 danielk1977 Exp $
**
** This file implements a external (disk-based) database using BTrees.
** See the header comment on "btreeInt.h" for additional information.
@@ -3593,7 +3593,7 @@ static int moveToRightmost(BtCursor *pCur){
pCur->info.nSize = 0;
pCur->validNKey = 0;
}
return SQLITE_OK;
return rc;
}
/* Move the cursor to the first entry in the table. Return SQLITE_OK