summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/split_vector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/split_vector.cpp')
-rw-r--r--src/mongo/db/s/split_vector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/s/split_vector.cpp b/src/mongo/db/s/split_vector.cpp
index 9eae8191854..10819bbcc8d 100644
--- a/src/mongo/db/s/split_vector.cpp
+++ b/src/mongo/db/s/split_vector.cpp
@@ -169,7 +169,7 @@ std::vector<BSONObj> splitVector(OperationContext* opCtx,
minKey,
maxKey,
BoundInclusion::kIncludeStartKeyOnly,
- PlanExecutor::YIELD_AUTO,
+ PlanYieldPolicy::YieldPolicy::YIELD_AUTO,
InternalPlanner::FORWARD);
BSONObj currKey;
@@ -187,7 +187,7 @@ std::vector<BSONObj> splitVector(OperationContext* opCtx,
maxKey,
minKey,
BoundInclusion::kIncludeEndKeyOnly,
- PlanExecutor::YIELD_AUTO,
+ PlanYieldPolicy::YieldPolicy::YIELD_AUTO,
InternalPlanner::BACKWARD);
PlanExecutor::ExecState state = exec->getNext(&maxKeyInChunk, nullptr);
@@ -304,7 +304,7 @@ std::vector<BSONObj> splitVector(OperationContext* opCtx,
minKey,
maxKey,
BoundInclusion::kIncludeStartKeyOnly,
- PlanExecutor::YIELD_AUTO,
+ PlanYieldPolicy::YieldPolicy::YIELD_AUTO,
InternalPlanner::FORWARD);
state = exec->getNext(&currKey, nullptr);