/ Check-in [b199637d]
Login

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

Overview
Comment:Fix FTS5 so that it works with SQLITE_OMIT_AUTORESET.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b199637d81d7e2a767131ac03c7679b101fd459c
User & Date: drh 2016-03-18 00:39:40
Context
2016-03-19
00:35
Fix a register allocation bug in the VDBE code generator for PRAGMA integrity_check; check-in: 88439a86 user: drh tags: trunk
2016-03-18
00:58
Merge recent enhancements from trunk. check-in: ec052b4f user: drh tags: apple-osx
00:39
Fix FTS5 so that it works with SQLITE_OMIT_AUTORESET. check-in: b199637d user: drh tags: trunk
00:19
Fix more test-case errors in the Apple configuration. check-in: 6631e1e6 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts5/fts5_storage.c.

   141    141         if( rc!=SQLITE_OK && pzErrMsg ){
   142    142           *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
   143    143         }
   144    144       }
   145    145     }
   146    146   
   147    147     *ppStmt = p->aStmt[eStmt];
          148  +  sqlite3_reset(*ppStmt);
   148    149     return rc;
   149    150   }
   150    151   
   151    152   
   152    153   static int fts5ExecPrintf(
   153    154     sqlite3 *db,
   154    155     char **pzErr,
................................................................................
  1117   1118       rc = sqlite3Fts5IndexSetCookie(p->pIndex, iNew);
  1118   1119       if( rc==SQLITE_OK ){
  1119   1120         p->pConfig->iCookie = iNew;
  1120   1121       }
  1121   1122     }
  1122   1123     return rc;
  1123   1124   }
  1124         -
  1125         -