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

Fix a bug in the sqliteBtreeFirst() function which was causing the first

row of a table to be repeated during a scan. (CVS 328)

FossilOrigin-Name: 1404ac076b2155778b6b21546b30df6f45ea7ba7
This commit is contained in:
drh
2001-12-15 02:47:28 +00:00
parent 653851f577
commit 0ce92edd57
3 changed files with 9 additions and 8 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.43 2001/12/14 15:09:57 drh Exp $
** $Id: btree.c,v 1.44 2001/12/15 02:47:28 drh Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
@@ -1252,6 +1252,7 @@ int sqliteBtreeFirst(BtCursor *pCur, int *pRes){
}
*pRes = 0;
rc = moveToLeftmost(pCur);
pCur->bSkipNext = 0;
return rc;
}