The docs at https://www.sqlite.org/compile.html state: „SQLITE_ENABLE_SESSION This option enables the session extension.“ which is not enough. You need to define SQLITE_ENABLE_PREUPDATE_HOOK too.
Robert M. Münch On 8 Aug 2018, at 17:55, Larry Brasfield wrote: > In shell.c, #defining the variable SQLITE_ENABLE_SESSION, (regardless of > its value), enables the session feature. > > In sqlite3.c, #defining the variables SQLITE_ENABLE_SESSION=1 and > SQLITE_ENABLE_PREUPDATE_HOOK=1 is necessary for the shell link to succeed. > > I suggest this could be simplified, or at least made more coherent. If the > update-related session behavior is optional in sqlite3, it probably should > be in the shell also. > > -- > Larry Brasfield > _______________________________________________ > sqlite-users mailing list > [email protected] > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

