summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/plan_cache.h')
-rw-r--r--src/mongo/db/query/plan_cache.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/query/plan_cache.h b/src/mongo/db/query/plan_cache.h
index 3c904ec3794..224ab51e6fc 100644
--- a/src/mongo/db/query/plan_cache.h
+++ b/src/mongo/db/query/plan_cache.h
@@ -401,8 +401,6 @@ public:
PlanCache(size_t size);
- PlanCache(const std::string& ns);
-
~PlanCache();
/**
@@ -529,10 +527,6 @@ public:
const std::function<BSONObj(const PlanCacheEntry&)>& serializationFunc,
const std::function<bool(const BSONObj&)>& filterFunc) const;
- void setNs(NamespaceString ns) {
- _ns = ns.toString();
- }
-
private:
struct NewEntryState {
bool shouldBeCreated = false;
@@ -551,9 +545,6 @@ private:
// Protects _cache.
mutable stdx::mutex _cacheMutex;
- // Full namespace of collection.
- std::string _ns;
-
// Holds computed information about the collection's indexes. Used for generating plan
// cache keys.
//