Consider the following build cmd line:
gcc -o sqlite3.exe -DSQLITE_OMIT_WAL sqlite3.c shell.c
The build succeeds when using MinGW on Windows.
Now start the built exe with a memory database:
sqlite3 :memory:
And execute the following query:
create table v(y);
wi
On 4 November 2014 04:17, RP McMurphy wrote:
> Consider the following build cmd line:
>
> gcc -o sqlite3.exe -DSQLITE_OMIT_WAL sqlite3.c shell.c
>
> The build succeeds when using MinGW on Windows.
>
> Now start the built exe with a memory database:
>
> sqlite3 :memory:
>
> And exec
On Tue, 4 Nov 2014 12:06:35 +
Simon Davies wrote:
> > And watch as it crashes when creating the index.
>
> From https://www.sqlite.org/compile.html:
>
> Important Note: The SQLITE_OMIT_* options do not work with the
> amalgamation or with pre-packaged C code files. SQLITE_OMIT_*
> compile-t
>Perhaps this could be caught at compile time. The process that creates
>the amalgamation could add a preprocessor macro defining e.g.
>_SQLITE_AMALGAMATION_. The SQLITE_OMIT_* macros could test for that
>definition and #pragma error if found.
I think there is a much easier solution. Since th
4 matches
Mail list logo