Storage Engine API
catalog_control.h
Go to the documentation of this file.
1 
29 #include "mongo/db/operation_context.h"
30 
31 namespace mongo {
32 namespace catalog {
39 void closeCatalog(OperationContext* opCtx);
40 
46 void openCatalog(OperationContext* opCtx);
47 } // namespace catalog
48 } // namespace mongo
void closeCatalog(OperationContext *opCtx)
Closes the catalog, destroying all associated in-memory data structures for all databases.
Definition: catalog_control.cpp:46
Copyright (C) 2014 MongoDB Inc.
Definition: bson_collection_catalog_entry.cpp:38
void openCatalog(OperationContext *opCtx)
Restores the catalog and all in-memory state after a call to closeCatalog().
Definition: catalog_control.cpp:66
Collection *const OperationContext *const opCtx
Definition: collection_impl.cpp:80