diff options
author | Randolph Tan <randolph@10gen.com> | 2017-07-03 17:49:48 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-07-12 13:20:42 -0400 |
commit | 1550eb477fcf883e861f63ffc988a6060a2fbfb1 (patch) | |
tree | 2ae92c69ae385f2788ec7ab2fad3aa77e7495ee9 /src/mongo/dbtests/pdfiletests.cpp | |
parent | 1d6008b049e65615b13404f0b877034cfa980220 (diff) | |
download | mongo-1550eb477fcf883e861f63ffc988a6060a2fbfb1.tar.gz |
SERVER-28912 Thread statement id from batched insert command oplog entry
Diffstat (limited to 'src/mongo/dbtests/pdfiletests.cpp')
-rw-r--r-- | src/mongo/dbtests/pdfiletests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/pdfiletests.cpp b/src/mongo/dbtests/pdfiletests.cpp index 98641b42627..cd62222ffc1 100644 --- a/src/mongo/dbtests/pdfiletests.cpp +++ b/src/mongo/dbtests/pdfiletests.cpp @@ -77,13 +77,13 @@ public: Collection* collection = _context.db()->getOrCreateCollection(&_opCtx, NamespaceString(ns())); OpDebug* const nullOpDebug = nullptr; - ASSERT(!collection->insertDocument(&_opCtx, x, nullOpDebug, true).isOK()); + ASSERT(!collection->insertDocument(&_opCtx, InsertStatement(x), nullOpDebug, true).isOK()); StatusWith<BSONObj> fixed = fixDocumentForInsert(_opCtx.getServiceContext(), x); ASSERT(fixed.isOK()); x = fixed.getValue(); ASSERT(x["_id"].type() == jstOID); - ASSERT(collection->insertDocument(&_opCtx, x, nullOpDebug, true).isOK()); + ASSERT(collection->insertDocument(&_opCtx, InsertStatement(x), nullOpDebug, true).isOK()); wunit.commit(); } }; |