summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/test_commands.cpp
diff options
context:
space:
mode:
authorQingyang Chen <qingyang.chen@10gen.com>2015-08-06 15:20:19 -0400
committerQingyang Chen <qingyang.chen@10gen.com>2015-08-13 14:18:55 -0400
commit7c808909a8c0a746ffd2d8153c90a77be8b85204 (patch)
tree988b67fed5c71f6906a6e7852688576a456fdf6d /src/mongo/db/commands/test_commands.cpp
parent9eadefd1f5e9f9a480f14fe5ad0b1b1838e96005 (diff)
downloadmongo-7c808909a8c0a746ffd2d8153c90a77be8b85204.tar.gz
SERVER-19466 TTLMonitor::doTTLForIndex() use IXSCAN => FETCH => DELETE
Diffstat (limited to 'src/mongo/db/commands/test_commands.cpp')
-rw-r--r--src/mongo/db/commands/test_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/test_commands.cpp b/src/mongo/db/commands/test_commands.cpp
index 733b3b19cee..aa36d2790c6 100644
--- a/src/mongo/db/commands/test_commands.cpp
+++ b/src/mongo/db/commands/test_commands.cpp
@@ -197,7 +197,7 @@ public:
RecordId end;
{
std::unique_ptr<PlanExecutor> exec(InternalPlanner::collectionScan(
- txn, nss.ns(), collection, InternalPlanner::BACKWARD));
+ txn, nss.ns(), collection, PlanExecutor::YIELD_MANUAL, InternalPlanner::BACKWARD));
// We remove 'n' elements so the start is one past that
for (int i = 0; i < n + 1; ++i) {
PlanExecutor::ExecState state = exec->getNext(NULL, &end);