summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/indexupdatetests.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-07-10 16:01:21 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2018-07-13 19:01:45 -0400
commit93accf1620db95d4aa7edbd5bbc017264b28e0f2 (patch)
treefab09fb1f5618338bc0c6a9232d11936e972ed56 /src/mongo/dbtests/indexupdatetests.cpp
parent77ab40c05f28c6c0afbc84bb72375a9867f79ecb (diff)
downloadmongo-93accf1620db95d4aa7edbd5bbc017264b28e0f2.tar.gz
SERVER-35626 remove old MMAP 'enforceQuota' code
Diffstat (limited to 'src/mongo/dbtests/indexupdatetests.cpp')
-rw-r--r--src/mongo/dbtests/indexupdatetests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/indexupdatetests.cpp b/src/mongo/dbtests/indexupdatetests.cpp
index 697a8ce1abd..6856646b3c3 100644
--- a/src/mongo/dbtests/indexupdatetests.cpp
+++ b/src/mongo/dbtests/indexupdatetests.cpp
@@ -283,11 +283,11 @@ public:
coll = db->createCollection(&_opCtx, _ns);
// Drop all indexes including id index.
coll->getIndexCatalog()->dropAllIndexes(&_opCtx, true);
- // Insert some documents with enforceQuota=true.
+ // Insert some documents.
int32_t nDocs = 1000;
OpDebug* const nullOpDebug = nullptr;
for (int32_t i = 0; i < nDocs; ++i) {
- coll->insertDocument(&_opCtx, InsertStatement(BSON("a" << i)), nullOpDebug, true)
+ coll->insertDocument(&_opCtx, InsertStatement(BSON("a" << i)), nullOpDebug)
.transitional_ignore();
}
wunit.commit();