/ Check-in [1d478e90]
Login

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

Overview
Comment:When OMIT_TRIGGER is defined, provide a no-op macro for sqlite3SelectMask(). Fix for #2918. (CVS 4773)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1d478e9091ef5775297ca4d50c85e39ccdf9e245
User & Date: danielk1977 2008-02-02 04:47:09
Context
2008-02-02
20:47
Delete unused "pager3_refinfo_enable" flag and its associated debugging macros. Ticket #2923. (CVS 4774) check-in: fccb217d user: drh tags: trunk
04:47
When OMIT_TRIGGER is defined, provide a no-op macro for sqlite3SelectMask(). Fix for #2918. (CVS 4773) check-in: 1d478e90 user: danielk1977 tags: trunk
02:48
Add more test cases to prove that ticket #2920 does not exist in CVS HEAD. The problem was previously fixed by the changes to ticket #2686. Ticket #2920 is a duplicate of #2686. (CVS 4772) check-in: b3259e87 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.658 2008/01/30 16:14:23 drh Exp $
           14  +** @(#) $Id: sqliteInt.h,v 1.659 2008/02/02 04:47:09 danielk1977 Exp $
    15     15   */
    16     16   #ifndef _SQLITEINT_H_
    17     17   #define _SQLITEINT_H_
    18     18   
    19     19   /*
    20     20   ** The macro unlikely() is a hint that surrounds a boolean
    21     21   ** expression that is usually false.  Macro likely() surrounds
................................................................................
  1756   1756   void sqlite3CreateIndex(Parse*,Token*,Token*,SrcList*,ExprList*,int,Token*,
  1757   1757                           Token*, int, int);
  1758   1758   void sqlite3DropIndex(Parse*, SrcList*, int);
  1759   1759   int sqlite3Select(Parse*, Select*, SelectDest*, Select*, int, int*, char *aff);
  1760   1760   Select *sqlite3SelectNew(Parse*,ExprList*,SrcList*,Expr*,ExprList*,
  1761   1761                            Expr*,ExprList*,int,Expr*,Expr*);
  1762   1762   void sqlite3SelectDelete(Select*);
  1763         -void sqlite3SelectMask(Parse *, Select *, u32);
  1764   1763   Table *sqlite3SrcListLookup(Parse*, SrcList*);
  1765   1764   int sqlite3IsReadOnly(Parse*, Table*, int);
  1766   1765   void sqlite3OpenTable(Parse*, int iCur, int iDb, Table*, int);
  1767   1766   void sqlite3DeleteFrom(Parse*, SrcList*, Expr*);
  1768   1767   void sqlite3Update(Parse*, SrcList*, ExprList*, Expr*, int);
  1769   1768   WhereInfo *sqlite3WhereBegin(Parse*, SrcList*, Expr*, ExprList**, u8);
  1770   1769   void sqlite3WhereEnd(WhereInfo*);
................................................................................
  1842   1841     TriggerStep *sqlite3TriggerSelectStep(sqlite3*,Select*);
  1843   1842     TriggerStep *sqlite3TriggerInsertStep(sqlite3*,Token*, IdList*,
  1844   1843                                           ExprList*,Select*,int);
  1845   1844     TriggerStep *sqlite3TriggerUpdateStep(sqlite3*,Token*,ExprList*, Expr*, int);
  1846   1845     TriggerStep *sqlite3TriggerDeleteStep(sqlite3*,Token*, Expr*);
  1847   1846     void sqlite3DeleteTrigger(Trigger*);
  1848   1847     void sqlite3UnlinkAndDeleteTrigger(sqlite3*,int,const char*);
         1848  +  void sqlite3SelectMask(Parse *, Select *, u32);
  1849   1849   #else
  1850   1850   # define sqlite3TriggersExist(A,B,C,D,E,F) 0
  1851   1851   # define sqlite3DeleteTrigger(A)
  1852   1852   # define sqlite3DropTriggerPtr(A,B)
  1853   1853   # define sqlite3UnlinkAndDeleteTrigger(A,B,C)
  1854   1854   # define sqlite3CodeRowTrigger(A,B,C,D,E,F,G,H,I,J,K) 0
         1855  +# define sqlite3SelectMask(A, B, C)
  1855   1856   #endif
  1856   1857   
  1857   1858   int sqlite3JoinType(Parse*, Token*, Token*, Token*);
  1858   1859   void sqlite3CreateForeignKey(Parse*, ExprList*, Token*, ExprList*, int);
  1859   1860   void sqlite3DeferForeignKey(Parse*, int);
  1860   1861   #ifndef SQLITE_OMIT_AUTHORIZATION
  1861   1862     void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*);