diff options
author | drh <drh@noemail.net> | 2013-12-20 13:11:45 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-12-20 13:11:45 +0000 |
commit | 7e61d18eb4dfaae65f151c8bd9ad01cde1e5bb58 (patch) | |
tree | 0ec6ffd153a1b0ab5efd8d8b59cb6658d9da8247 /src/sqliteInt.h | |
parent | 1001ee8819a825d2b6076b7f4e98949deb1aef92 (diff) | |
download | sqlite-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.h | 1 |
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 */ |