Please recompile sqlite 3.11 with -DSQLITE_ENABLE_FTS3_TOKENIZER
Bug #1546911 reported by
James Henstridge
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediascanner2 (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
sqlite3 (Ubuntu) |
Fix Released
|
Undecided
|
Łukasz Zemczak |
Bug Description
The recent upload of sqlite 3.11 to xenial-proposed has rendered mediascanner2 non-functional. From the release notes, it seems the ability to register new full text search tokenizers has been disabled by default:
http://
This means that mediascanner2 fails to open the index. We can't switch to any of the built-in tokenizers because they don't handle CJK text, so the only option seems to be to re-enable this functionality despite it being a potential security vulnerability for apps that let untrusted code run arbitrary SQL.
Changed in mediascanner2 (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in sqlite3 (Ubuntu): | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
status: | New → Confirmed |
Changed in mediascanner2 (Ubuntu): | |
status: | Confirmed → Invalid |
To post a comment you must log in.
And as a simple test case for the problem, run the following:
$ sqlite3 :memory: 'foo', fts3_tokenizer( 'porter' ));
SQLite version ...
Enter ".help" for usage hints.
sqlite> select fts3_tokenizer(
On older versions this would register the tokenizer "foo". With 3.11.0, it spits out the following error:
Error: fts3tokenize: disabled - rebuild with -DSQLITE_ ENABLE_ FTS3_TOKENIZER