/ Check-in [c46eef2f]
Login

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

Overview
Comment:Another bug fix from two check-ins ago. (CVS 2062)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c46eef2f6d32b8546e1441e7e6f103e6ad97f1f4
User & Date: drh 2004-11-05 05:23:59
Context
2004-11-05
06:02
When using sqlite3NestedParse() to modify the sqlite_master table, do not code OP_Callback. (CVS 2063) check-in: 296a298c user: danielk1977 tags: trunk
05:23
Another bug fix from two check-ins ago. (CVS 2062) check-in: c46eef2f user: drh tags: trunk
05:20
Fix a bug in the previous check-in. (CVS 2061) check-in: 9d259d48 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/build.c.

    20     20   **     creating ID lists
    21     21   **     BEGIN TRANSACTION
    22     22   **     COMMIT
    23     23   **     ROLLBACK
    24     24   **     PRAGMA
    25     25   **
    26     26   <<<<<<< build.c
    27         -** $Id: build.c,v 1.265 2004/11/05 05:20:40 drh Exp $
           27  +** $Id: build.c,v 1.266 2004/11/05 05:23:59 drh Exp $
    28     28   =======
    29         -** $Id: build.c,v 1.265 2004/11/05 05:20:40 drh Exp $
           29  +** $Id: build.c,v 1.266 2004/11/05 05:23:59 drh Exp $
    30     30   >>>>>>> 1.262
    31     31   */
    32     32   #include "sqliteInt.h"
    33     33   #include <ctype.h>
    34     34   
    35     35   /*
    36     36   ** This routine is called when a new SQL statement is beginning to
................................................................................
  1659   1659   ** is also added (this can happen with an auto-vacuum database).
  1660   1660   */
  1661   1661   static void destroyTable(Parse *pParse, Table *pTab){
  1662   1662     Vdbe *v = pParse->pVdbe;
  1663   1663   #ifdef SQLITE_OMIT_AUTOVACUUM
  1664   1664     destroyRootPage(pParse, pTab->tnum, pTab->iDb);
  1665   1665     for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
  1666         -    destroyRootPage(v, pIdx->tnum, pIdx->iDb);
         1666  +    destroyRootPage(pParse, pIdx->tnum, pIdx->iDb);
  1667   1667     }
  1668   1668   #else
  1669   1669     /* If the database may be auto-vacuum capable (if SQLITE_OMIT_AUTOVACUUM
  1670   1670     ** is not defined), then it is important to call OP_Destroy on the
  1671   1671     ** table and index root-pages in order, starting with the numerically 
  1672   1672     ** largest root-page number. This guarantees that none of the root-pages
  1673   1673     ** to be destroyed is relocated by an earlier OP_Destroy. i.e. if the