/ Check-in [6bedb49d]
Login

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

Overview
Comment:Suppress a compiler warning that occurs with SQLITE_OMIT_VIRTUALTABLE.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6bedb49d68f2960a6fc4701d02e177789abf9099
User & Date: drh 2011-10-12 19:04:07
Context
2011-10-12
23:13
The date/time functions return NULL if the xCurrentTime or xCurrentTimeInt64 VFS methods fail. Ticket [0b803bff856c644c] check-in: c96651dd user: drh tags: trunk
19:04
Suppress a compiler warning that occurs with SQLITE_OMIT_VIRTUALTABLE. check-in: 6bedb49d user: drh tags: trunk
18:52
Clean up obsolete comments in printf.c. check-in: 97ef4f50 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

  3091   3091   #  define sqlite3VtabRollback(X)
  3092   3092   #  define sqlite3VtabCommit(X)
  3093   3093   #  define sqlite3VtabInSync(db) 0
  3094   3094   #  define sqlite3VtabLock(X) 
  3095   3095   #  define sqlite3VtabUnlock(X)
  3096   3096   #  define sqlite3VtabUnlockList(X)
  3097   3097   #  define sqlite3VtabSavepoint(X, Y, Z) SQLITE_OK
         3098  +#  define sqlite3GetVTable(X,Y)  ((VTable*)0)
  3098   3099   #else
  3099   3100      void sqlite3VtabClear(sqlite3 *db, Table*);
  3100   3101      int sqlite3VtabSync(sqlite3 *db, char **);
  3101   3102      int sqlite3VtabRollback(sqlite3 *db);
  3102   3103      int sqlite3VtabCommit(sqlite3 *db);
  3103   3104      void sqlite3VtabLock(VTable *);
  3104   3105      void sqlite3VtabUnlock(VTable *);
  3105   3106      void sqlite3VtabUnlockList(sqlite3*);
  3106   3107      int sqlite3VtabSavepoint(sqlite3 *, int, int);
         3108  +   VTable *sqlite3GetVTable(sqlite3*, Table*);
  3107   3109   #  define sqlite3VtabInSync(db) ((db)->nVTrans>0 && (db)->aVTrans==0)
  3108   3110   #endif
  3109   3111   void sqlite3VtabMakeWritable(Parse*,Table*);
  3110   3112   void sqlite3VtabBeginParse(Parse*, Token*, Token*, Token*);
  3111   3113   void sqlite3VtabFinishParse(Parse*, Token*);
  3112   3114   void sqlite3VtabArgInit(Parse*);
  3113   3115   void sqlite3VtabArgExtend(Parse*, Token*);
................................................................................
  3119   3121   void sqlite3InvalidFunction(sqlite3_context*,int,sqlite3_value**);
  3120   3122   int sqlite3VdbeParameterIndex(Vdbe*, const char*, int);
  3121   3123   int sqlite3TransferBindings(sqlite3_stmt *, sqlite3_stmt *);
  3122   3124   int sqlite3Reprepare(Vdbe*);
  3123   3125   void sqlite3ExprListCheckLength(Parse*, ExprList*, const char*);
  3124   3126   CollSeq *sqlite3BinaryCompareCollSeq(Parse *, Expr *, Expr *);
  3125   3127   int sqlite3TempInMemory(const sqlite3*);
  3126         -VTable *sqlite3GetVTable(sqlite3*, Table*);
  3127   3128   const char *sqlite3JournalModename(int);
  3128   3129   int sqlite3Checkpoint(sqlite3*, int, int, int*, int*);
  3129   3130   int sqlite3WalDefaultHook(void*,sqlite3*,const char*,int);
  3130   3131   
  3131   3132   /* Declarations for functions in fkey.c. All of these are replaced by
  3132   3133   ** no-op macros if OMIT_FOREIGN_KEY is defined. In this case no foreign
  3133   3134   ** key functionality is available. If OMIT_TRIGGER is defined but