/ Check-in [ce8e4e88]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove a C++ style comment that went in with the previous commit. (CVS 2192)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ce8e4e885a46cec35b64a81925eb330048ea5cbb
User & Date: danielk1977 2005-01-11 11:08:23
Context
2005-01-11
13:02
Test cases to improve coverage of vdbe.c. (CVS 2193) check-in: a6b45722 user: danielk1977 tags: trunk
11:08
Remove a C++ style comment that went in with the previous commit. (CVS 2192) check-in: ce8e4e88 user: danielk1977 tags: trunk
10:25
Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2191) check-in: a37e0108 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

    39     39   **
    40     40   ** Various scripts scan this source file in order to generate HTML
    41     41   ** documentation, headers files, or other derived files.  The formatting
    42     42   ** of the code in this file is, therefore, important.  See other comments
    43     43   ** in this file for details.  If in doubt, do not deviate from existing
    44     44   ** commenting and indentation practices when changing or adding code.
    45     45   **
    46         -** $Id: vdbe.c,v 1.438 2005/01/11 10:25:08 danielk1977 Exp $
           46  +** $Id: vdbe.c,v 1.439 2005/01/11 11:08:23 danielk1977 Exp $
    47     47   */
    48     48   #include "sqliteInt.h"
    49     49   #include "os.h"
    50     50   #include <ctype.h>
    51     51   #include "vdbeInt.h"
    52     52   
    53     53   /*
................................................................................
  2800   2800     int i = pOp->p1;
  2801   2801     Cursor *pC;
  2802   2802     BtCursor *pCrsr;
  2803   2803     assert( pTos>=p->aStack );
  2804   2804     assert( i>=0 && i<p->nCursor );
  2805   2805     assert( p->apCsr[i]!=0 );
  2806   2806     if( (pCrsr = (pC = p->apCsr[i])->pCursor)!=0 ){
  2807         -    int res, rx;
         2807  +    int res;
  2808   2808       u64 iKey;
  2809   2809       assert( pTos->flags & MEM_Int );
  2810   2810       assert( p->apCsr[i]->intKey );
  2811   2811       iKey = intToKey(pTos->i);
  2812         -    // rx = sqlite3BtreeMoveto(pCrsr, 0, iKey, &res);
  2813   2812       rc = sqlite3BtreeMoveto(pCrsr, 0, iKey, &res);
  2814   2813       pC->lastRecno = pTos->i;
  2815   2814       pC->recnoIsValid = res==0;
  2816   2815       pC->nullRow = 0;
  2817   2816       pC->cacheValid = 0;
  2818         -    // if( rx!=SQLITE_OK || res!=0 ){
  2819   2817       if( res!=0 ){
  2820   2818         pc = pOp->p2 - 1;
  2821   2819         pC->recnoIsValid = 0;
  2822   2820       }
  2823   2821     }
  2824   2822     Release(pTos);
  2825   2823     pTos--;