Re: [sqlite] shell session feature, #define awkwardness

2019-03-22 Thread Robert M. Münch
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 varia

[sqlite] shell session feature, #define awkwardness

2018-08-08 Thread Larry Brasfield
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