aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-09-05 22:36:07 +0000
committerdrh <drh@noemail.net>2015-09-05 22:36:07 +0000
commit0b8d255c37ea9830cecabb57f1c2ba6305eacc44 (patch)
tree8477f96f9ab6b8a7a9969542060a3fc733416748 /src/sqliteInt.h
parent28b9e0fc058c5e6c212109b58162fbe7d9f5a651 (diff)
downloadsqlite-0b8d255c37ea9830cecabb57f1c2ba6305eacc44.tar.gz
sqlite-0b8d255c37ea9830cecabb57f1c2ba6305eacc44.zip
Omit all use of Expr nodes for TK_AS, as those nodes no longer served a useful
purpose and in fact interferred with the query planner. FossilOrigin-Name: 7ab0b258eabfcfb7f1b0bd1b12e166d2f267823d
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 69315ed46..89b3d798f 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2135,6 +2135,7 @@ struct Expr {
#define EP_ConstFunc 0x080000 /* A SQLITE_FUNC_CONSTANT or _SLOCHNG function */
#define EP_CanBeNull 0x100000 /* Can be null despite NOT NULL constraint */
#define EP_Subquery 0x200000 /* Tree contains a TK_SELECT operator */
+#define EP_Alias 0x400000 /* Is an alias for a result set column */
/*
** Combinations of two or more EP_* flags