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

Set the SQLITE_DIRECTONLY flag on the fts3_tokenizer() function of FTS3,

thus preventing that function from being called from within a trigger or
view.

FossilOrigin-Name: f3171dc22e4d3a40ca17fe609391d92fc6a997b775bfefa5947aec69c889aa73
This commit is contained in:
drh
2019-12-31 18:12:36 +00:00
parent 02ff747bc0
commit 1e732787da
4 changed files with 32 additions and 9 deletions

View File

@ -481,7 +481,7 @@ int sqlite3Fts3InitHashTable(
){
int rc = SQLITE_OK;
void *p = (void *)pHash;
const int any = SQLITE_ANY;
const int any = SQLITE_ANY|SQLITE_DIRECTONLY;
#ifdef SQLITE_TEST
char *zTest = 0;