/ Check-in [c5cee969]
Login

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

Overview
Comment:Silence harmless compiler warning seen with SQLITE_OMIT_DEPRECATED.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c5cee969322d14114e4136510c3891a2e743520d
User & Date: mistachkin 2012-09-18 23:21:32
Context
2012-09-19
00:35
Merge the covering-index-scan optimization into trunk. check-in: ddd5d789 user: drh tags: trunk
2012-09-18
23:21
Silence harmless compiler warning seen with SQLITE_OMIT_DEPRECATED. check-in: c5cee969 user: mistachkin tags: trunk
19:29
Enhance IN processing to allow efficient use of indices with numeric affinities. Add test cases for IN processing that would have spotted the error in the [2be661a48023f4] check-in. check-in: 5ded9b68 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/prepare.c.

   130    130   ** database.  iDb==1 should never be used.  iDb>=2 is used for
   131    131   ** auxiliary databases.  Return one of the SQLITE_ error codes to
   132    132   ** indicate success or failure.
   133    133   */
   134    134   static int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg){
   135    135     int rc;
   136    136     int i;
          137  +#ifndef SQLITE_OMIT_DEPRECATED
   137    138     int size;
          139  +#endif
   138    140     Table *pTab;
   139    141     Db *pDb;
   140    142     char const *azArg[4];
   141    143     int meta[5];
   142    144     InitData initData;
   143    145     char const *zMasterSchema;
   144    146     char const *zMasterName;