diff options
Diffstat (limited to 'src/mongo/db/exec/group.cpp')
-rw-r--r-- | src/mongo/db/exec/group.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/exec/group.cpp b/src/mongo/db/exec/group.cpp index 7acaebdf7fa..c4be03cdaad 100644 --- a/src/mongo/db/exec/group.cpp +++ b/src/mongo/db/exec/group.cpp @@ -86,7 +86,8 @@ GroupStage::GroupStage(OperationContext* txn, _specificStats(), _groupState(GroupState_Initializing), _reduceFunction(0), - _keyFunction(0) { + _keyFunction(0), + _groupMap(SimpleBSONObjComparator::kInstance.makeBSONObjIndexedMap<int>()) { _children.emplace_back(child); } |