summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorDrew Paroski <drew.paroski@mongodb.com>2020-07-23 00:37:01 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-23 23:14:40 +0000
commit20a929019d14e7fab4f9c6f5acf01e2544f37a7a (patch)
tree2599bf0511ba4e65cc1b246feeabc4df6c947415 /src/mongo
parentd986854f5ec4fda16d22baab2d380b202626661f (diff)
downloadmongo-20a929019d14e7fab4f9c6f5acf01e2544f37a7a.tar.gz
SERVER-49827 [SBE] Fix latent bug in ExpressionPostVisitor causing a failure in "sanity.js"
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/query/sbe_stage_builder_expression.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/query/sbe_stage_builder_expression.cpp b/src/mongo/db/query/sbe_stage_builder_expression.cpp
index 4ed687eac13..00901ecfcb5 100644
--- a/src/mongo/db/query/sbe_stage_builder_expression.cpp
+++ b/src/mongo/db/query/sbe_stage_builder_expression.cpp
@@ -309,7 +309,8 @@ std::pair<sbe::value::SlotId, std::unique_ptr<sbe::PlanStage>> generateTraverse(
innerBranchOutputSlot,
sbe::makeSV(),
nullptr,
- nullptr)};
+ nullptr,
+ 1)};
}
}