Re: [sqlite] SQLITE 3.8.3 beta: SQLITE_OMIT_CTE build doesn't work

2014-01-20 Thread Jan Nijtmans
2014/1/20 Richard Hipp : > That single-macro fix allows it to compile and run. But there are memory > leaks associated with that fix that would need to be plugged before we > could use it in a release. Well, I didn't think about memory leaks Never mind. Since CTE doesn't

Re: [sqlite] SQLITE 3.8.3 beta: SQLITE_OMIT_CTE build doesn't work

2014-01-20 Thread Richard Hipp
On Mon, Jan 20, 2014 at 9:23 AM, Jan Nijtmans wrote: > 2014/1/20 Dan Kennedy : > > Looks like SQLITE_OMIT_CTE only works with full source builds, not > > the amalgamation. As it causes code to be omitted from parse.y. > > > > There are a few others

Re: [sqlite] SQLITE 3.8.3 beta: SQLITE_OMIT_CTE build doesn't work

2014-01-20 Thread Jan Nijtmans
2014/1/20 Dan Kennedy : > Looks like SQLITE_OMIT_CTE only works with full source builds, not > the amalgamation. As it causes code to be omitted from parse.y. > > There are a few others this is true of as well - OMIT_VIRTUALTABLE, > OMIT_TRIGGER etc. Sure, but since

Re: [sqlite] SQLITE 3.8.3 beta: SQLITE_OMIT_CTE build doesn't work

2014-01-20 Thread Dan Kennedy
On 01/20/2014 08:36 PM, Jan Nijtmans wrote: $ gcc -c -Wall -o sqlite3.o -DSQLITE_OMIT_CTE sqlite3.c sqlite3.c: In function ‘yy_reduce’: sqlite3.c:117782:3: warning: implicit declaration of function ‘sqlite3WithAdd’ [-Wimplicit-function-declaration] yygotominor.yy59 = sqlite3WithAdd(pParse,

[sqlite] SQLITE 3.8.3 beta: SQLITE_OMIT_CTE build doesn't work

2014-01-20 Thread Jan Nijtmans
$ gcc -c -Wall -o sqlite3.o -DSQLITE_OMIT_CTE sqlite3.c sqlite3.c: In function ‘yy_reduce’: sqlite3.c:117782:3: warning: implicit declaration of function ‘sqlite3WithAdd’ [-Wimplicit-function-declaration] yygotominor.yy59 = sqlite3WithAdd(pParse, 0, [-5].minor.yy0, yymsp[-4].minor.yy14,