Hi, 2016-08-08 16:50 GMT+09:00 hkoba {Kobayasi Hiroaki} <buribul...@gmail.com>: > Hi! > > Recently I upgraded loving SQLite to 3.12 (because Fedora24 uses it) > and I found some of my programs (written in Tcl or Perl) > stopped working because they can't load my own fts3 tokenizer extension. > > I read https://www.sqlite.org/fts3.html#section_8_1 and realized I may > need to call sqlite3_db_config(). > It is ok for C-level apps, but unfortunately, my programs are written > in Tcl or Perl. > > # I tried authorizer too in Tcl, but it didn't help. > > So, > > (1) How about exposing sqlite3_db_config() to Tcl interface bindings? > > (2) How about changing SQLITE_Fts3Tokenizer flag too in > sqlite3_enable_load_extension() when SQLITE_ENABLE_FTS3 is set? > > # (1) is ideal, but there is no way to force this change to other > language bindings like DBD::SQLite. > # This is why I propose (2) too here. >
As for the latest developer release of DBD::SQLite for perl (since version 1.51_01 to be exact), you can set SQLITE_ENABLE_FTS3_TOKENIZER environmental variable to true to enable fts3 tokenizer when you run its Makefile.PL. Cheers, Kenichi Ishigaki, the maintainer of DBD::SQLite > > I'm using sqlite-3.13.0-1.fc24.x86_64 on Fedora24. > > Thank you! > -- > hkoba > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users