Remove the 0x00 terminators from the end of doclists stored on disk.

FossilOrigin-Name: 00d990061dec3661b0376bd167082942d5563bfe
This commit is contained in:
dan
2015-09-08 19:55:26 +00:00
parent 60f8139a96
commit fe8e2eba0a
10 changed files with 323 additions and 244 deletions
+3
View File
@@ -480,6 +480,9 @@ int sqlite3Fts5ConfigParse(
pRet->zDb = sqlite3Fts5Strndup(&rc, azArg[1], -1);
pRet->zName = sqlite3Fts5Strndup(&rc, azArg[2], -1);
pRet->bColumnsize = 1;
#ifdef SQLITE_DEBUG
pRet->bPrefixIndex = 1;
#endif
if( rc==SQLITE_OK && sqlite3_stricmp(pRet->zName, FTS5_RANK_NAME)==0 ){
*pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
rc = SQLITE_ERROR;