diff options
author | James Wahlin <james.wahlin@10gen.com> | 2016-04-05 09:33:23 -0400 |
---|---|---|
committer | James Wahlin <james.wahlin@10gen.com> | 2016-04-21 11:45:40 -0400 |
commit | 6bbaee174447ee1c9177c72bdd07f050ab07e901 (patch) | |
tree | 213a1b76b23f31c143fb8ac4f3299fb1e13fc8a9 /src/mongo/dbtests/query_stage_ixscan.cpp | |
parent | 223c2a1aa5fd11fd3e7115ca9acb6d1217f80f92 (diff) | |
download | mongo-6bbaee174447ee1c9177c72bdd07f050ab07e901.tar.gz |
SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops
Diffstat (limited to 'src/mongo/dbtests/query_stage_ixscan.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_ixscan.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_ixscan.cpp b/src/mongo/dbtests/query_stage_ixscan.cpp index 12e8f33fb3c..8b619d9dfce 100644 --- a/src/mongo/dbtests/query_stage_ixscan.cpp +++ b/src/mongo/dbtests/query_stage_ixscan.cpp @@ -64,7 +64,8 @@ public: void insert(const BSONObj& doc) { WriteUnitOfWork wunit(&_txn); - ASSERT_OK(_coll->insertDocument(&_txn, doc, false)); + OpDebug* const nullOpDebug = nullptr; + ASSERT_OK(_coll->insertDocument(&_txn, doc, nullOpDebug, false)); wunit.commit(); } |