diff options
author | Benety Goh <benety@mongodb.com> | 2016-04-21 14:31:09 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-04-21 14:31:09 -0400 |
commit | 0bd67d53681e4826a44f2b45b136f50cd36de44b (patch) | |
tree | 6de928d1480421d36774bc1061fde8942c80f3f1 /src/mongo/dbtests/querytests.cpp | |
parent | 42415534834c82518dfdb4c75c3b22b75edb5eff (diff) | |
download | mongo-0bd67d53681e4826a44f2b45b136f50cd36de44b.tar.gz |
Revert "SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops"
This reverts commit 6bbaee174447ee1c9177c72bdd07f050ab07e901.
Diffstat (limited to 'src/mongo/dbtests/querytests.cpp')
-rw-r--r-- | src/mongo/dbtests/querytests.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/dbtests/querytests.cpp b/src/mongo/dbtests/querytests.cpp index 8cf6d28d1a5..49c11d6dd44 100644 --- a/src/mongo/dbtests/querytests.cpp +++ b/src/mongo/dbtests/querytests.cpp @@ -99,16 +99,15 @@ protected: void insert(const BSONObj& o) { WriteUnitOfWork wunit(&_txn); - OpDebug* const nullOpDebug = nullptr; if (o["_id"].eoo()) { BSONObjBuilder b; OID oid; oid.init(); b.appendOID("_id", &oid); b.appendElements(o); - _collection->insertDocument(&_txn, b.obj(), nullOpDebug, false); + _collection->insertDocument(&_txn, b.obj(), false); } else { - _collection->insertDocument(&_txn, o, nullOpDebug, false); + _collection->insertDocument(&_txn, o, false); } wunit.commit(); } |