1
0
mirror of https://github.com/sqlite/sqlite.git synced 2026-01-06 08:01:16 +03:00

Add a comment to fts3_tokenizer.h to make it clear how the xNext() method is supposed to set its output variables. Make sure the output variables of xNext() are only used if SQLITE_OK is returned. Ticket #3604. (CVS 6198)

FossilOrigin-Name: 5b3c075f96be9671d0bcffe928589b211559e835
This commit is contained in:
danielk1977
2009-01-21 17:45:33 +00:00
parent bea2a94850
commit e1d3ac9cd0
4 changed files with 13 additions and 10 deletions

View File

@@ -145,8 +145,8 @@ static int getNextToken(
pRet->pPhrase->isNot = 1;
}
}
nConsumed = iEnd;
}
nConsumed = iEnd;
pModule->xClose(pCursor);
}