Oh yeah, bingo :) Thanks?
Gergely On 22/10/2015 17:05, "Scott Hess" <shess at google.com> wrote: >Dollars to donuts you're compiling SQLite but then linking against the >system version. > >-scott > > >On Thu, Oct 22, 2015 at 7:51 AM, Gergely Lukacsy (glukacsy) < >glukacsy at cisco.com> wrote: > >> Hi Simon, >> >> Thanks for coming back to me. >> >> I ran sqlite3_compileoption_get in a loop to enumerate all options (I >> assume this is the same as the pragma query suggested below) and I got >>the >> following: >> >> 2015-10-22T14:46:24.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomENABLE_FTS3 >> 2015-10-22T14:46:24.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomENABLE_FTS3_PARENTHESIS >> 2015-10-22T14:46:24.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomENABLE_LOCKING_STYLE=1 >> 2015-10-22T14:46:24.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomENABLE_RTREE >> 2015-10-22T14:46:24.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomOMIT_AUTORESET >> 2015-10-22T14:46:24.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomOMIT_BUILTIN_TEST >> 2015-10-22T14:46:24.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomOMIT_LOAD_EXTENSION >> 2015-10-22T14:46:26.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomSYSTEM_MALLOC >> 2015-10-22T14:46:26.000Z <Debug> [0x7fff7679d300] DBWrapper.cpp:33 >> DBInit:OptiomTHREADSAFE=2 >> >> >> I am really puzzled by this as its not that FTS is set to version 3, but >> THREADSAFE=2 which is not what I am giving clang as an option. If I omit >> -DSQLITE_ENABLE_FTS5 I see I can put garbage in the FTS5 specific parts >>of >> the amalgamation and it still compiles, with -DSQLITE_ENABLE_FTS5 it >>fails >> - indicating that the FTS5 specific parts are compiled and the >> preprocessof flags honoured. >> >> >> Regards, >> Gergely >> >> >> On 22/10/2015 14:51, "Simon Slavin" <slavins at bigfraud.org> wrote: >> >> > >> >On 22 Oct 2015, at 2:38pm, Gergely Lukacsy (glukacsy) >> ><glukacsy at cisco.com> wrote: >> > >> >> ... I get an "error: no module: fts5" error message. This indicates >> >>that I didn't compile SQLite with FTS5 support, but I am pretty sure >> >>that I am using the right preprocessor flags >> > >> >Using that version of SQLite, can you execute the command >> > >> >PRAGMA compile_options; >> > >> >and tell us what it reports back ? It will reply with a series of rows >> >just like a SELECT command would. >> > >> >See <https://www.sqlite.org/pragma.html#pragma_compile_options> for >> >further details. >> > >> >Simon. >> >_______________________________________________ >> >sqlite-users mailing list >> >sqlite-users at mailinglists.sqlite.org >> >http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> >> _______________________________________________ >> sqlite-users mailing list >> sqlite-users at mailinglists.sqlite.org >> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> >_______________________________________________ >sqlite-users mailing list >sqlite-users at mailinglists.sqlite.org >http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users