diff options
Diffstat (limited to 'src/mongo/db/catalog/database_impl.h')
-rw-r--r-- | src/mongo/db/catalog/database_impl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/catalog/database_impl.h b/src/mongo/db/catalog/database_impl.h index 3992a645e04..2cb451a2778 100644 --- a/src/mongo/db/catalog/database_impl.h +++ b/src/mongo/db/catalog/database_impl.h @@ -45,18 +45,6 @@ public: void clearTmpCollections(OperationContext* opCtx) const final; - /** - * Sets a new profiling level for the database and returns the outcome. - * - * @param opCtx Operation context which to use for creating the profiling collection. - * @param newLevel New profiling level to use. - */ - Status setProfilingLevel(OperationContext* opCtx, int newLevel) final; - - int getProfilingLevel() const final { - return _profile.load(); - } - void setDropPending(OperationContext* opCtx, bool dropPending) final; bool isDropPending(OperationContext* opCtx) const final; @@ -161,8 +149,6 @@ private: const NamespaceString _viewsName; // "dbname.system.views" - AtomicWord<int> _profile{0}; // 0=off - // If '_dropPending' is true, this Database is in the midst of a two-phase drop. No new // collections may be created in this Database. // This variable may only be read/written while the database is locked in MODE_X. |