summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/accumulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/accumulator.h')
-rw-r--r--src/mongo/db/pipeline/accumulator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/accumulator.h b/src/mongo/db/pipeline/accumulator.h
index 463001b665a..114ccc260ce 100644
--- a/src/mongo/db/pipeline/accumulator.h
+++ b/src/mongo/db/pipeline/accumulator.h
@@ -382,7 +382,8 @@ private:
*/
Decimal128 _getDecimalTotal() const;
- bool _isDecimal;
+ BSONType _totalType = NumberInt;
+ BSONType _nonDecimalTotalType = NumberInt;
DoubleDoubleSummation _nonDecimalTotal;
Decimal128 _decimalTotal;
long long _count;