/ Check-in [30077ece]
Login

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

Overview
Comment:Remove references to OP_MoveTo in comments of vdbe.c - that opcode no longer exists. Ticket #3327. (CVS 5584)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 30077ece459b515338723ca0dab11c18b9f09d21
User & Date: drh 2008-08-21 19:28:30
Context
2008-08-21
20:21
Move date+time functions to start-time initialization. Additional start-time function cleanup. (CVS 5585) check-in: 80d6a31c user: drh tags: trunk
19:28
Remove references to OP_MoveTo in comments of vdbe.c - that opcode no longer exists. Ticket #3327. (CVS 5584) check-in: 30077ece user: drh tags: trunk
18:49
Initialize the global built-in function table at start-time instead of at compile-time. This is less prone to malfunction when compile-time parameters very. (CVS 5583) check-in: ef6936e5 user: drh 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.776 2008/08/20 22:06:48 drh Exp $
           46  +** $Id: vdbe.c,v 1.777 2008/08/21 19:28:30 drh Exp $
    47     47   */
    48     48   #include "sqliteInt.h"
    49     49   #include <ctype.h>
    50     50   #include "vdbeInt.h"
    51     51   
    52     52   /*
    53     53   ** The following global variable is incremented every time a cursor
................................................................................
  3029   3029   ** DISTINCT keyword in SELECT statements.
  3030   3030   **
  3031   3031   ** This instruction checks if index P1 contains a record for which 
  3032   3032   ** the first N serialized values exactly match the N serialized values
  3033   3033   ** in the record in register P3, where N is the total number of values in
  3034   3034   ** the P3 record (the P3 record is a prefix of the P1 record). 
  3035   3035   **
  3036         -** See also: NotFound, MoveTo, IsUnique, NotExists
         3036  +** See also: NotFound, IsUnique, NotExists
  3037   3037   */
  3038   3038   /* Opcode: NotFound P1 P2 P3 * *
  3039   3039   **
  3040   3040   ** Register P3 holds a blob constructed by MakeRecord.  P1 is
  3041   3041   ** an index.  If no entry exists in P1 that matches the blob then jump
  3042   3042   ** to P2.  If an entry does existing, fall through.  The cursor is left
  3043   3043   ** pointing to the entry that matches.
  3044   3044   **
  3045         -** See also: Found, MoveTo, NotExists, IsUnique
         3045  +** See also: Found, NotExists, IsUnique
  3046   3046   */
  3047   3047   case OP_NotFound:       /* jump, in3 */
  3048   3048   case OP_Found: {        /* jump, in3 */
  3049   3049     int i = pOp->p1;
  3050   3050     int alreadyExists = 0;
  3051   3051     Cursor *pC;
  3052   3052     assert( i>=0 && i<p->nCursor );
................................................................................
  3193   3193   ** pointing to the record if it exists.
  3194   3194   **
  3195   3195   ** The difference between this operation and NotFound is that this
  3196   3196   ** operation assumes the key is an integer and that P1 is a table whereas
  3197   3197   ** NotFound assumes key is a blob constructed from MakeRecord and
  3198   3198   ** P1 is an index.
  3199   3199   **
  3200         -** See also: Found, MoveTo, NotFound, IsUnique
         3200  +** See also: Found, NotFound, IsUnique
  3201   3201   */
  3202   3202   case OP_NotExists: {        /* jump, in3 */
  3203   3203     int i = pOp->p1;
  3204   3204     Cursor *pC;
  3205   3205     BtCursor *pCrsr;
  3206   3206     assert( i>=0 && i<p->nCursor );
  3207   3207     assert( p->apCsr[i]!=0 );