1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +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
** in order to generate code for DELETE FROM statements.
**
** $Id: delete.c,v 1.161 2008/02/12 16:52:14 drh Exp $
** $Id: delete.c,v 1.162 2008/03/19 20:42:14 drh Exp $
*/
#include "sqliteInt.h"
@@ -537,3 +537,8 @@ int sqlite3GenerateIndexKey(
sqlite3ReleaseTempRange(pParse, regBase, nCol+1);
return regBase;
}
/* 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