aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-12-20 13:11:45 +0000
committerdrh <drh@noemail.net>2013-12-20 13:11:45 +0000
commit7e61d18eb4dfaae65f151c8bd9ad01cde1e5bb58 (patch)
tree0ec6ffd153a1b0ab5efd8d8b59cb6658d9da8247 /src/sqliteInt.h
parent1001ee8819a825d2b6076b7f4e98949deb1aef92 (diff)
downloadsqlite-7e61d18eb4dfaae65f151c8bd9ad01cde1e5bb58.tar.gz
sqlite-7e61d18eb4dfaae65f151c8bd9ad01cde1e5bb58.zip
Simplify the accumulator reset for aggregate query processing so that it
uses a single multi-register OP_Null rather than a separate OP_Null for each register. FossilOrigin-Name: 2c7fd9b043f5f3d9d8e22dbefa84a9770ca951d0
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 af018edf0..a33ff4d43 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1688,6 +1688,7 @@ struct AggInfo {
int sortingIdx; /* Cursor number of the sorting index */
int sortingIdxPTab; /* Cursor number of pseudo-table */
int nSortingColumn; /* Number of columns in the sorting index */
+ int mnReg, mxReg; /* Range of registers allocated for aCol and aFunc */
ExprList *pGroupBy; /* The group by clause */
struct AggInfo_col { /* For each column used in source tables */
Table *pTab; /* Source table */