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

Fix a comment in btree.c. No code changes. (CVS 5756)

FossilOrigin-Name: 0f3c56330b43fb7c9dc43a444ca38bace9397ede
This commit is contained in:
danielk1977
2008-09-30 16:48:10 +00:00
parent 7b682804c7
commit a69fda25ff
3 changed files with 12 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.522 2008/09/30 14:06:29 drh Exp $
** $Id: btree.c,v 1.523 2008/09/30 16:48:11 danielk1977 Exp $
**
** This file implements a external (disk-based) database using BTrees.
** See the header comment on "btreeInt.h" for additional information.
@@ -5956,7 +5956,9 @@ int sqlite3BtreeDelete(BtCursor *pCur){
** calls restoreCursorPosition() to point the cursor to the copy
** stored on the internal node, then advances to the next entry,
** which happens to be the copy of the key on the internal node.
** Net effect: leafCur is pointing back where
** Net effect: leafCur is pointing back to the duplicate cell
** that needs to be removed, and the leafCur.apPage[] and
** leafCur.aiIdx[] arrays are correct.
*/
#ifndef NDEBUG
Pgno leafPgno = pLeafPage->pgno;