summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_sort.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-07-17 09:54:31 -0400
committerRandolph Tan <randolph@10gen.com>2017-07-21 12:53:45 -0400
commitf7924be532372d4754ac3a496881e9334de21a7b (patch)
tree51baa20662d8e83d4bb8ea9e48e8d662638eafea /src/mongo/dbtests/query_stage_sort.cpp
parent769ce1808686e408bf41844c106ab5ce289339ee (diff)
downloadmongo-f7924be532372d4754ac3a496881e9334de21a7b.tar.gz
SERVER-28912 Thread stmtId from update and delete requests to oplog
Diffstat (limited to 'src/mongo/dbtests/query_stage_sort.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_sort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/query_stage_sort.cpp b/src/mongo/dbtests/query_stage_sort.cpp
index 9ab3fb4fd32..bb9082c81fb 100644
--- a/src/mongo/dbtests/query_stage_sort.cpp
+++ b/src/mongo/dbtests/query_stage_sort.cpp
@@ -461,7 +461,7 @@ public:
set<RecordId>::iterator it = recordIds.begin();
{
WriteUnitOfWork wuow(&_opCtx);
- coll->deleteDocument(&_opCtx, *it++, nullOpDebug);
+ coll->deleteDocument(&_opCtx, kUninitializedStmtId, *it++, nullOpDebug);
wuow.commit();
}
exec->restoreState();
@@ -477,7 +477,7 @@ public:
while (it != recordIds.end()) {
{
WriteUnitOfWork wuow(&_opCtx);
- coll->deleteDocument(&_opCtx, *it++, nullOpDebug);
+ coll->deleteDocument(&_opCtx, kUninitializedStmtId, *it++, nullOpDebug);
wuow.commit();
}
}