/ Check-in [5c906e91]
Login

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

Overview
Comment:Add missing "static" qualifier to functions in where.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5c906e914b63eb00e62c6c2a535e234a75d95030
User & Date: dan 2013-07-05 11:10:54
Context
2013-07-05
16:54
Replace an erroneous SQLITE_OMIT_VIRTUAL_TABLE in vdbeaux.c with SQLITE_OMIT_WAL. Also fix some test script problems. check-in: ff8c3f78 user: dan tags: trunk
11:10
Add missing "static" qualifier to functions in where.c. check-in: 5c906e91 user: dan tags: trunk
10:46
Make a couple of implicit casts explicit to fix compiler warnings. check-in: 9676280a user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/where.c.

   818    818   }
   819    819   
   820    820   /*
   821    821   ** Advance to the next WhereTerm that matches according to the criteria
   822    822   ** established when the pScan object was initialized by whereScanInit().
   823    823   ** Return NULL if there are no more matching WhereTerms.
   824    824   */
   825         -WhereTerm *whereScanNext(WhereScan *pScan){
          825  +static WhereTerm *whereScanNext(WhereScan *pScan){
   826    826     int iCur;            /* The cursor on the LHS of the term */
   827    827     int iColumn;         /* The column on the LHS of the term.  -1 for IPK */
   828    828     Expr *pX;            /* An expression being tested */
   829    829     WhereClause *pWC;    /* Shorthand for pScan->pWC */
   830    830     WhereTerm *pTerm;    /* The term being tested */
   831    831     int k = pScan->k;    /* Where to start scanning */
   832    832   
................................................................................
   905    905   ** form X=Y then this routine might also return terms of the form
   906    906   ** "Y <op> <expr>".  The number of levels of transitivity is limited,
   907    907   ** but is enough to handle most commonly occurring SQL statements.
   908    908   **
   909    909   ** If X is not the INTEGER PRIMARY KEY then X must be compatible with
   910    910   ** index pIdx.
   911    911   */
   912         -WhereTerm *whereScanInit(
          912  +static WhereTerm *whereScanInit(
   913    913     WhereScan *pScan,       /* The WhereScan object being initialized */
   914    914     WhereClause *pWC,       /* The WHERE clause to be scanned */
   915    915     int iCur,               /* Cursor to scan for */
   916    916     int iColumn,            /* Column to scan for */
   917    917     u32 opMask,             /* Operator(s) to scan for */
   918    918     Index *pIdx             /* Must be compatible with this index */
   919    919   ){