diff options
Diffstat (limited to 'src/mongo/db/catalog/database.h')
-rw-r--r-- | src/mongo/db/catalog/database.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/database.h b/src/mongo/db/catalog/database.h index f483ceca79c..e5b83da2ba0 100644 --- a/src/mongo/db/catalog/database.h +++ b/src/mongo/db/catalog/database.h @@ -60,7 +60,7 @@ public: virtual void init(OperationContext* opCtx) = 0; - virtual void close(OperationContext* opCtx) = 0; + virtual void close(OperationContext* opCtx, const std::string& reason) = 0; virtual const std::string& name() const = 0; @@ -190,8 +190,8 @@ public: } // closes files and other cleanup see below. - inline void close(OperationContext* const opCtx) { - return this->_impl().close(opCtx); + inline void close(OperationContext* const opCtx, const std::string& reason) { + return this->_impl().close(opCtx, reason); } inline const std::string& name() const { |