/ Check-in [1688f60c]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Fix a harmless compiler warning in FTS3.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1688f60c08cc9270948402d98a2333382aa32681
User & Date: drh 2015-03-26 14:29:51
Context
2015-03-26
15:27
Provide source code line numbers for errors in the Windows VFS generated by the winLogIoerr() routine. check-in: b5da0d93 user: drh tags: trunk
14:29
Fix a harmless compiler warning in FTS3. check-in: 1688f60c user: drh tags: trunk
2015-03-25
18:29
Change an unreachable branch into an assert(). check-in: fb076b28 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts3/fts3.c.

  1104   1104     char *zCsr;                     /* Space for holding column names */
  1105   1105     int nDb;                        /* Bytes required to hold database name */
  1106   1106     int nName;                      /* Bytes required to hold table name */
  1107   1107     int isFts4 = (argv[0][3]=='4'); /* True for FTS4, false for FTS3 */
  1108   1108     const char **aCol;              /* Array of column names */
  1109   1109     sqlite3_tokenizer *pTokenizer = 0;        /* Tokenizer for this table */
  1110   1110   
  1111         -  int nIndex;                     /* Size of aIndex[] array */
         1111  +  int nIndex = 0;                 /* Size of aIndex[] array */
  1112   1112     struct Fts3Index *aIndex = 0;   /* Array of indexes for this table */
  1113   1113   
  1114   1114     /* The results of parsing supported FTS4 key=value options: */
  1115   1115     int bNoDocsize = 0;             /* True to omit %_docsize table */
  1116   1116     int bDescIdx = 0;               /* True to store descending indexes */
  1117   1117     char *zPrefix = 0;              /* Prefix parameter value (or NULL) */
  1118   1118     char *zCompress = 0;            /* compress=? parameter (or NULL) */