Re: [sqlite] OMIT_VIEW / TRIGGER bug?

2008-04-22 Thread Richard Klein
While your solution will eliminate the link errors, I think that my solution -- replacing && with || in the conditional expression -- is actually the correct one, for two reasons: (1) In the source code, every other conditional expression involving OMIT_VIEW and OMIT_TRIGGER uses not && but ||. (

Re: [sqlite] OMIT_VIEW / TRIGGER bug?

2008-04-22 Thread Mark Spiegel
This was a problem for me too. I just chalked it up to deleting options and using the amalgamated source. (Seem to recall reading that this is not recommended.) Replace: SQLITE_PRIVATE void sqlite3MaterializeView(Parse*, Select*, Expr*, u32, int); with: #if !defined(SQLITE_OMIT_VIEW) && !d

[sqlite] OMIT_VIEW / TRIGGER bug?

2008-04-21 Thread Richard Klein
I fixed my OPTS in the Makefile so that they are in sync with my compilation options. Now all the unresolved references in the parser have dis- appeared, but I'm still left with two unresolved references to the function sqlite3MaterializeView(): delete.obj : error LNK2019: unresolved external sym