aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-10-31 02:22:47 +0000
committerdrh <drh@noemail.net>2004-10-31 02:22:47 +0000
commitb7f9164e98fa24ae6995c99dd792836b81ccc91d (patch)
treef55e787ff88094cfad5dd4abf2a6230ae5e5f4ee /src/expr.c
parent27d258a3ec1cf88e2a9104650bb6221215ea4d76 (diff)
downloadsqlite-b7f9164e98fa24ae6995c99dd792836b81ccc91d.tar.gz
sqlite-b7f9164e98fa24ae6995c99dd792836b81ccc91d.zip
Insert #ifdefs that can optionally remove features at compiletime resulting
in a database engine with a smaller footprint. (CVS 2034) FossilOrigin-Name: be661acfa849bb0d5692797dd221f5a8a457f8ad
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c
index 75167579b..daf7dc492 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
-** $Id: expr.c,v 1.166 2004/10/04 13:19:24 drh Exp $
+** $Id: expr.c,v 1.167 2004/10/31 02:22:49 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -700,6 +700,7 @@ static int lookupName(
}
}
+#ifndef SQLITE_OMIT_TRIGGER
/* If we have not already resolved the name, then maybe
** it is a new.* or old.* trigger argument reference
*/
@@ -733,6 +734,7 @@ static int lookupName(
}
}
}
+#endif /* !defined(SQLITE_OMIT_TRIGGER) */
/*
** Perhaps the name is a reference to the ROWID