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 *after* sqlite3AutoLoadExtensions(db).

Therefore registering the tokenizer is not possible at this stage, since the 
fts5() function is not defined yet.

Is there another way? I can?t use dynamic extensions so need to use 
sqlite3_auto_extension or something similar.

thanks,

? ?Jan


Reply via email to