/ Check-in [b69b4fe8]
Login

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

Overview
Comment:Fold in a 64-bit change that came from the PHP people. (CVS 1743)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b69b4fe8adff83a26e3566613bea8b477a26e8a4
User & Date: drh 2004-06-26 14:46:40
Context
2004-06-26
19:35
Coverage testing of pragma.c. (CVS 1744) check-in: 0f9c0f0a user: drh tags: trunk
14:46
Fold in a 64-bit change that came from the PHP people. (CVS 1743) check-in: b69b4fe8 user: drh tags: trunk
13:51
Fix a problem where a file was not being closed after a malloc() failure. (CVS 1741) check-in: 3c8512bc user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/build.c.

    19     19   **     DROP INDEX
    20     20   **     creating ID lists
    21     21   **     BEGIN TRANSACTION
    22     22   **     COMMIT
    23     23   **     ROLLBACK
    24     24   **     PRAGMA
    25     25   **
    26         -** $Id: build.c,v 1.233 2004/06/26 08:38:25 danielk1977 Exp $
           26  +** $Id: build.c,v 1.234 2004/06/26 14:46:40 drh Exp $
    27     27   */
    28     28   #include "sqliteInt.h"
    29     29   #include <ctype.h>
    30     30   
    31     31   /*
    32     32   ** This routine is called when a new SQL statement is beginning to
    33     33   ** be parsed.  Check to see if the schema for the database needs
................................................................................
  1448   1448     ** the end.
  1449   1449     */
  1450   1450     sEnd = pParse->sLastToken;
  1451   1451     if( sEnd.z[0]!=0 && sEnd.z[0]!=';' ){
  1452   1452       sEnd.z += sEnd.n;
  1453   1453     }
  1454   1454     sEnd.n = 0;
  1455         -  n = ((int)sEnd.z) - (int)pBegin->z;
         1455  +  n = sEnd.z - pBegin->z;
  1456   1456     z = pBegin->z;
  1457   1457     while( n>0 && (z[n-1]==';' || isspace(z[n-1])) ){ n--; }
  1458   1458     sEnd.z = &z[n-1];
  1459   1459     sEnd.n = 1;
  1460   1460   
  1461   1461     /* Use sqlite3EndTable() to add the view to the SQLITE_MASTER table */
  1462   1462     sqlite3EndTable(pParse, &sEnd, 0);