summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/accumulator_add_to_set.cpp
diff options
context:
space:
mode:
authorMatt Dannenberg <dannenberg.matt@gmail.com>2012-07-09 15:55:14 -0400
committerMathias Stearn <mathias@10gen.com>2012-07-20 18:49:19 -0400
commitdc0b517d81bc01565e3819493c7379182b5625b3 (patch)
treefaa411e77522fd3512955a6bdc4142ebee334df1 /src/mongo/db/pipeline/accumulator_add_to_set.cpp
parentef878b16bc24fa4667c2ec367200b49df3ebcd94 (diff)
downloadmongo-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-xsrc/mongo/db/pipeline/accumulator_add_to_set.cpp2
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 {
/*