/ Check-in [c93a9e18]
Login

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

Overview
Comment:Fix an obsolete comment that resulted in incorrect documentation. Ticket #1003. (CVS 2109)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c93a9e18d2bf53690f577a901e0defd8a449d56a
User & Date: drh 2004-11-18 02:10:55
Context
2004-11-18
13:49
Speed improvement on the LIKE command. (CVS 2110) check-in: 85d56beb user: drh tags: trunk
02:10
Fix an obsolete comment that resulted in incorrect documentation. Ticket #1003. (CVS 2109) check-in: c93a9e18 user: drh tags: trunk
02:04
Clarify the documentation of the sqlite3_create_function API. Ticket #1004. (CVS 2108) check-in: ae45ad86 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.429 2004/11/15 23:42:28 drh Exp $
           46  +** $Id: vdbe.c,v 1.430 2004/11/18 02:10:55 drh 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   /*
................................................................................
  3979   3979     break;
  3980   3980   }
  3981   3981   
  3982   3982   /* Opcode: SortPut * * *
  3983   3983   **
  3984   3984   ** The TOS is the key and the NOS is the data.  Pop both from the stack
  3985   3985   ** and put them on the sorter.  The key and data should have been
  3986         -** made using SortMakeKey and SortMakeRec, respectively.
         3986  +** made using the MakeRecord opcode.
  3987   3987   */
  3988   3988   case OP_SortPut: {
  3989   3989     Mem *pNos = &pTos[-1];
  3990   3990     Sorter *pSorter;
  3991   3991     assert( pNos>=p->aStack );
  3992   3992     if( Dynamicify(pTos, db->enc) ) goto no_mem;
  3993   3993     pSorter = sqliteMallocRaw( sizeof(Sorter) );