diff options
author | Nick Kralevich <nnk@google.com> | 2014-02-28 09:46:06 -0800 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2014-02-28 09:46:06 -0800 |
commit | a586535b4c1fa23e280ff9a188671113f900b48b (patch) | |
tree | 1152136d1a5722e1ad2bd8acb203e1d68106082b /dist/sqlite3.c | |
parent | 399dce677c821a43476eac5e07da340669d82321 (diff) |
disable fts3_tokenizer
Bug: 13177500
Change-Id: I1581c7ca8ac6d931375fc2cbcbe13f43513ce3c7
Diffstat (limited to 'dist/sqlite3.c')
-rw-r--r-- | dist/sqlite3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/sqlite3.c b/dist/sqlite3.c index c6c8a5e..8165c95 100644 --- a/dist/sqlite3.c +++ b/dist/sqlite3.c @@ -120232,7 +120232,9 @@ SQLITE_PRIVATE int sqlite3Fts3Init(sqlite3 *db){ ** module with sqlite. */ if( SQLITE_OK==rc +#ifndef ANDROID /* fts3_tokenizer disabled for security reasons */ && SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer")) +#endif && SQLITE_OK==(rc = sqlite3_overload_function(db, "snippet", -1)) && SQLITE_OK==(rc = sqlite3_overload_function(db, "offsets", 1)) && SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1)) |