[Bug 1546911] Re: Please recompile sqlite 3.11 with -DSQLITE_ENABLE_FTS3_TOKENIZER

James Henstridge james.henstridge at canonical.com
Fri Feb 19 23:44:40 UTC 2016


Well, one other major user of this API is Thunderbird.  In fact, the
tokenizer we use in mediascanner is based on the one they developed.  It
looks like a number of other people had also extracted the Mozilla
tokenizer too, since none of the built-in options give the same multi-
language compromise.

I doubt that they plan to remove this API completely, since it would
render existing databases unreadable.  It might eventually go away when
they deprecate the fts3/fts4 modules, but that won't happen until the
replacement fts5 module is ready for prime time.  We'll definitely need
to cross that bridge at some point.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sqlite3 in Ubuntu.
https://bugs.launchpad.net/bugs/1546911

Title:
  Please recompile sqlite 3.11 with -DSQLITE_ENABLE_FTS3_TOKENIZER

Status in mediascanner2 package in Ubuntu:
  Confirmed
Status in sqlite3 package in Ubuntu:
  Confirmed

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://sqlite.org/releaselog/3_11_0.html

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1546911/+subscriptions



More information about the foundations-bugs mailing list