diff options
author | Yoonsoo Kim <yoonsoo.kim@mongodb.com> | 2021-09-22 17:32:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-22 18:00:35 +0000 |
commit | 33b918c720a50ea880f68d65b908fc8771eb07df (patch) | |
tree | e717014528c8cb1027bdac086e0601a46dad59b9 | |
parent | 22fa3b7067bc0d9d025dc9191fd42ca509fc879f (diff) | |
download | mongo-33b918c720a50ea880f68d65b908fc8771eb07df.tar.gz |
SERVER-60136 Extend DocumentSourceGroup sbeGroupCompatible flag to use sbeCompatible flag
-rw-r--r-- | src/mongo/db/pipeline/document_source_group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_group.cpp b/src/mongo/db/pipeline/document_source_group.cpp index 1ca22c9adf3..e8849f65d11 100644 --- a/src/mongo/db/pipeline/document_source_group.cpp +++ b/src/mongo/db/pipeline/document_source_group.cpp @@ -495,7 +495,7 @@ intrusive_ptr<DocumentSource> DocumentSourceGroup::createFromBson( groupStage->_memoryTracker.set(pFieldName, 0); } } - groupStage->_sbeCompatible = expCtx->sbeGroupCompatible; + groupStage->_sbeCompatible = expCtx->sbeGroupCompatible && expCtx->sbeCompatible; uassert( 15955, "a group specification must include an _id", !groupStage->_idExpressions.empty()); |