diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2018-10-03 17:38:54 +0100 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2018-10-03 22:36:02 +0100 |
commit | b73a042894580032505768ea94c58348c5e4bc79 (patch) | |
tree | 1a09f75d0a9ab5336df587d1db2a71c02d383afb /src/mongo/dbtests | |
parent | 3077fb640b0df0b8d769aafd0d38e67d3307198b (diff) | |
download | mongo-b73a042894580032505768ea94c58348c5e4bc79.tar.gz |
SERVER-36198 Remove 'internalQueryAllowAllPathsIndexes' server parameter
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/validate_tests.cpp | 5 | ||||
-rw-r--r-- | src/mongo/dbtests/wildcard_multikey_persistence_test.cpp | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/dbtests/validate_tests.cpp b/src/mongo/dbtests/validate_tests.cpp index ddc62bffc0e..f060ed785c1 100644 --- a/src/mongo/dbtests/validate_tests.cpp +++ b/src/mongo/dbtests/validate_tests.cpp @@ -66,9 +66,6 @@ public: _db(nullptr) { _client.createCollection(_ns); { - _origWildcardKnob = internalQueryAllowAllPathsIndexes.load(); - internalQueryAllowAllPathsIndexes.store(true); - AutoGetCollection autoGetCollection(&_opCtx, _nss, MODE_X); _isInRecordIdOrder = autoGetCollection.getCollection()->getRecordStore()->isInRecordIdOrder(); @@ -78,7 +75,6 @@ public: ~ValidateBase() { _client.dropCollection(_ns); getGlobalServiceContext()->unsetKillAllOperations(); - internalQueryAllowAllPathsIndexes.store(_origWildcardKnob); } protected: @@ -140,7 +136,6 @@ protected: unique_ptr<AutoGetDb> _autoDb; Database* _db; bool _isInRecordIdOrder; - bool _origWildcardKnob{false}; }; template <bool full, bool background> diff --git a/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp b/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp index 6d31c903035..860fec6bec3 100644 --- a/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp +++ b/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp @@ -61,13 +61,10 @@ std::vector<InsertStatement> toInserts(std::vector<BSONObj> docs) { class WildcardMultikeyPersistenceTestFixture : public unittest::Test { public: WildcardMultikeyPersistenceTestFixture() { - _origWildcardKnob = internalQueryAllowAllPathsIndexes.load(); - internalQueryAllowAllPathsIndexes.store(true); _opCtx = cc().makeOperationContext(); } virtual ~WildcardMultikeyPersistenceTestFixture() { - internalQueryAllowAllPathsIndexes.store(_origWildcardKnob); _opCtx.reset(); } |