On Dec 1, 2009, at 11:53 AM, Ralf Junker wrote:

> Compiling with SQLITE_OMIT_SUBQUERY, sqlite3ExprCodeIN() is compiled  
> out
> but at the same time still required at other places in expr.c.
>
> As such, expr.c does not link well with SQLITE_OMIT_SUBQUERY defined.
>
> After I wrapped the remaining references to sqlite3ExprCodeIN() by
> #ifndef SQLITE_OMIT_SUBQUERY it compiles fine. Am I safe to do so or  
> are
> there any caveats?

It looks like adding the extra #ifndefs breaks other things -  
specifically the IN operator.

The key point to bare in mind here is that SQLITE_OMIT_SUBQUERY is not  
a supported compile-time option.  None of the major users of SQLite  
make use of SQLITE_OMIT_SUBQUERY.  We do not test it.  And it appears  
that it is broken in the current implementation.  It is unlikely to be  
fixed for 3.6.21.


>
> Ralf
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

D. Richard Hipp
[email protected]



_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to