From 1550eb477fcf883e861f63ffc988a6060a2fbfb1 Mon Sep 17 00:00:00 2001 From: Randolph Tan Date: Mon, 3 Jul 2017 17:49:48 -0400 Subject: SERVER-28912 Thread statement id from batched insert command oplog entry --- src/mongo/dbtests/query_stage_ixscan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/dbtests/query_stage_ixscan.cpp') diff --git a/src/mongo/dbtests/query_stage_ixscan.cpp b/src/mongo/dbtests/query_stage_ixscan.cpp index 79c5b112bf3..2c81fbb357a 100644 --- a/src/mongo/dbtests/query_stage_ixscan.cpp +++ b/src/mongo/dbtests/query_stage_ixscan.cpp @@ -69,7 +69,7 @@ public: void insert(const BSONObj& doc) { WriteUnitOfWork wunit(&_opCtx); OpDebug* const nullOpDebug = nullptr; - ASSERT_OK(_coll->insertDocument(&_opCtx, doc, nullOpDebug, false)); + ASSERT_OK(_coll->insertDocument(&_opCtx, InsertStatement(doc), nullOpDebug, false)); wunit.commit(); } -- cgit v1.2.1