Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit e6db643

Browse files
nickkralAndroid Git Automerger
authored andcommitted
am f6d9fa6: am 20f7eeb: am 9ff7db7: am f764dbb: disable fts3_tokenizer
* commit 'f6d9fa687171181887af66a24abf04d6108de88f': disable fts3_tokenizer
2 parents 75d4463 + f6d9fa6 commit e6db643

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dist/sqlite3.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120232,7 +120232,9 @@ SQLITE_PRIVATE int sqlite3Fts3Init(sqlite3 *db){
120232120232
** module with sqlite.
120233120233
*/
120234120234
if( SQLITE_OK==rc
120235+
#ifndef ANDROID /* fts3_tokenizer disabled for security reasons */
120235120236
&& SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer"))
120237+
#endif
120236120238
&& SQLITE_OK==(rc = sqlite3_overload_function(db, "snippet", -1))
120237120239
&& SQLITE_OK==(rc = sqlite3_overload_function(db, "offsets", 1))
120238120240
&& SQLITE_OK==(rc = sqlite3_overload_function(db, "matchinfo", 1))

0 commit comments

Comments
 (0)