diff options
author | Matt Dannenberg <dannenberg.matt@gmail.com> | 2012-07-09 15:55:14 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2012-07-20 18:49:19 -0400 |
commit | dc0b517d81bc01565e3819493c7379182b5625b3 (patch) | |
tree | faa411e77522fd3512955a6bdc4142ebee334df1 /src/mongo/db/pipeline/accumulator_add_to_set.cpp | |
parent | ef878b16bc24fa4667c2ec367200b49df3ebcd94 (diff) | |
download | mongo-dc0b517d81bc01565e3819493c7379182b5625b3.tar.gz |
SERVER-6179 support multiple $group in sharded agg
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_add_to_set.cpp')
-rwxr-xr-x | src/mongo/db/pipeline/accumulator_add_to_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/accumulator_add_to_set.cpp b/src/mongo/db/pipeline/accumulator_add_to_set.cpp index e91726345a1..86d4366ff0c 100755 --- a/src/mongo/db/pipeline/accumulator_add_to_set.cpp +++ b/src/mongo/db/pipeline/accumulator_add_to_set.cpp @@ -28,7 +28,7 @@ namespace mongo { if (prhs->getType() == Undefined) ; /* nothing to add to the array */ - else if (!pCtx->getInRouter()) + else if (!pCtx->getDoingMerge()) set.insert(prhs); else { /* |