/ Check-in [0ca14399]
Login

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

Overview
Comment:Move a comment within the Parse structure to make it more accurate. No actual code changes. (CVS 4842)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0ca14399b19ee22870394065c5c6a136ea41418d
User & Date: danielk1977 2008-03-08 06:16:30
Context
2008-03-08
12:23
Fix asserts in prepare.c to handle the misuse case of ppStmt==0. (CVS 4843) check-in: 788b2c6b user: drh tags: trunk
06:16
Move a comment within the Parse structure to make it more accurate. No actual code changes. (CVS 4842) check-in: 0ca14399 user: danielk1977 tags: trunk
2008-03-07
21:37
Make sure all necessary mutexes are held prior to initializing the schema in sqlite3_table_column_metadata(). (CVS 4841) check-in: 4996ff93 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

     7      7   **    May you do good and not evil.
     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** Internal interface definitions for SQLite.
    13     13   **
    14         -** @(#) $Id: sqliteInt.h,v 1.670 2008/03/06 16:28:58 mlcreech Exp $
           14  +** @(#) $Id: sqliteInt.h,v 1.671 2008/03/08 06:16:30 danielk1977 Exp $
    15     15   */
    16     16   #ifndef _SQLITEINT_H_
    17     17   #define _SQLITEINT_H_
    18     18   
    19     19   /*
    20     20   ** Include the configuration header output by 'configure' if it was run
    21     21   ** (otherwise we get an empty default).
................................................................................
  1488   1488     u32 cookieMask;      /* Bitmask of schema verified databases */
  1489   1489     int cookieGoto;      /* Address of OP_Goto to cookie verifier subroutine */
  1490   1490     int cookieValue[SQLITE_MAX_ATTACHED+2];  /* Values of cookies to verify */
  1491   1491   #ifndef SQLITE_OMIT_SHARED_CACHE
  1492   1492     int nTableLock;        /* Number of locks in aTableLock */
  1493   1493     TableLock *aTableLock; /* Required table locks for shared-cache mode */
  1494   1494   #endif
         1495  +  int regRowid;        /* Register holding rowid of CREATE TABLE entry */
         1496  +  int regRoot;         /* Register holding root page number for new objects */
  1495   1497   
  1496   1498     /* Above is constant between recursions.  Below is reset before and after
  1497   1499     ** each recursion */
  1498   1500   
  1499         -  int regRowid;        /* Register holding rowid of CREATE TABLE entry */
  1500         -  int regRoot;         /* Register holding root page number for new objects */
  1501   1501     int nVar;            /* Number of '?' variables seen in the SQL so far */
  1502   1502     int nVarExpr;        /* Number of used slots in apVarExpr[] */
  1503   1503     int nVarExprAlloc;   /* Number of allocated slots in apVarExpr[] */
  1504   1504     Expr **apVarExpr;    /* Pointers to :aaa and $aaaa wildcard expressions */
  1505   1505     u8 explain;          /* True if the EXPLAIN flag is found on the query */
  1506   1506     Token sErrToken;     /* The token at which the error occurred */
  1507   1507     Token sNameToken;    /* Token with unqualified schema object name */