1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Undefine the "isView" macro when compiling with SQLITE_OMIT_VIEW so that

the macro does not interfer with subsequent modules in the amalgamation. (CVS 4888)

FossilOrigin-Name: a42caa8f83ce19af1e569c4545ea8b2449152430
This commit is contained in:
drh
2008-03-19 20:42:13 +00:00
parent 8257f0c1da
commit f39d958829
5 changed files with 27 additions and 12 deletions

View File

@@ -12,7 +12,7 @@
** This file contains C code routines that are called by the parser
** to handle INSERT statements in SQLite.
**
** $Id: insert.c,v 1.231 2008/03/06 09:58:50 mlcreech Exp $
** $Id: insert.c,v 1.232 2008/03/19 20:42:14 drh Exp $
*/
#include "sqliteInt.h"
@@ -1663,3 +1663,8 @@ static int xferOptimization(
}
}
#endif /* SQLITE_OMIT_XFER_OPT */
/* Make sure "isView" gets undefined in case this file becomes part of
** the amalgamation - so that subsequent files do not see isView as a
** macro. */
#undef isView