[sqlite] sqlite3_auto_extension + custom FTS5 tokenizer

2016-05-12 Thread Jan Berkel
> I?m currently implementing a custom FTS5 tokenizer which I?d like to > automatically register for each db connection. > > So I tried to register an extension hook with sqlite3_auto_extension but when > my code is called the FTS_* modules have not been initialized, because > sqlite3Fts5Init

[sqlite] sqlite3_auto_extension + custom FTS5 tokenizer

2016-05-11 Thread Dan Kennedy
On 05/11/2016 05:24 PM, Jan Berkel wrote: > I?m currently implementing a custom FTS5 tokenizer which I?d like to > automatically register for each db connection. > > So I tried to register an extension hook with sqlite3_auto_extension but when > my code is called the FTS_* modules have not been i

[sqlite] sqlite3_auto_extension + custom FTS5 tokenizer

2016-05-11 Thread Jan Berkel
I?m currently implementing a custom FTS5 tokenizer which I?d like to automatically register for each db connection. So I tried to register an extension hook with sqlite3_auto_extension but when my code is called the FTS_* modules have not been initialized, because sqlite3Fts5Init() is called *a