aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2012-04-17 16:38:53 +0000
committerdrh <drh@noemail.net>2012-04-17 16:38:53 +0000
commit374fdce485ab55739dfd307ac00a59ebe8ce8d25 (patch)
tree325d9cfeffa79ef18b2889c690f98acff4f5c51f /src/sqliteInt.h
parentd8621b90c9caa7d7e1970e98b0c6992d414706a7 (diff)
downloadsqlite-374fdce485ab55739dfd307ac00a59ebe8ce8d25.tar.gz
sqlite-374fdce485ab55739dfd307ac00a59ebe8ce8d25.zip
Improved handling of aggregate subqueries within an aggregate query.
FossilOrigin-Name: 430bb59d798286a86c351de92c429345f016b3f0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index ccffe09c2..cb178ff97 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2011,7 +2011,6 @@ struct NameContext {
u8 allowAgg; /* Aggregate functions allowed here */
u8 hasAgg; /* True if aggregates are seen */
u8 isCheck; /* True if resolving names in a CHECK constraint */
- int nDepth; /* Depth of subquery recursion. 1 for no recursion */
AggInfo *pAggInfo; /* Information about aggregates at this level */
NameContext *pNext; /* Next outer name context. NULL for outermost */
};
@@ -2477,6 +2476,7 @@ struct Walker {
union { /* Extra data for callback */
NameContext *pNC; /* Naming context */
int i; /* Integer value */
+ SrcList *pSrcList; /* FROM clause */
} u;
};