/ Check-in [bf28f1c2]
Login

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

Overview
Comment:add two missing initializer values (CVS 4937)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bf28f1c260b3efbec3b031edb97ccb7b4b039947
User & Date: rse 2008-03-29 12:50:33
Context
2008-03-29
16:01
Make the sqlite3BtreeMoveto routine a no-op if the cursor is already pointing at the cell we are trying to move to. (CVS 4938) check-in: 9b567ab6 user: drh tags: trunk
12:50
add two missing initializer values (CVS 4937) check-in: bf28f1c2 user: rse tags: trunk
12:47
eliminate compile-time warnings related to missing field initializations (CVS 4936) check-in: d6a34d98 user: rse tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/parse.y.

    10     10   **
    11     11   *************************************************************************
    12     12   ** This file contains SQLite's grammar for SQL.  Process this file
    13     13   ** using the lemon parser generator to generate C code that runs
    14     14   ** the parser.  Lemon will also generate a header file containing
    15     15   ** numeric codes for all of the tokens.
    16     16   **
    17         -** @(#) $Id: parse.y,v 1.241 2008/03/20 16:30:18 drh Exp $
           17  +** @(#) $Id: parse.y,v 1.242 2008/03/29 12:50:33 rse Exp $
    18     18   */
    19     19   
    20     20   // All token codes are small integers with #defines that begin with "TK_"
    21     21   %token_prefix TK_
    22     22   
    23     23   // The type of the data attached to each token is Token.  This is also the
    24     24   // default type for non-terminals.
................................................................................
   356    356     sqlite3DropTable(pParse, X, 1, E);
   357    357   }
   358    358   %endif  SQLITE_OMIT_VIEW
   359    359   
   360    360   //////////////////////// The SELECT statement /////////////////////////////////
   361    361   //
   362    362   cmd ::= select(X).  {
   363         -  SelectDest dest = {SRT_Callback, 0, 0};
          363  +  SelectDest dest = {SRT_Callback, 0, 0, 0, 0};
   364    364     sqlite3Select(pParse, X, &dest, 0, 0, 0, 0);
   365    365     sqlite3SelectDelete(X);
   366    366   }
   367    367   
   368    368   %type select {Select*}
   369    369   %destructor select {sqlite3SelectDelete($$);}
   370    370   %type oneselect {Select*}