diff options
Diffstat (limited to 'cpp/src/Freeze/SharedDbEnv.cpp')
-rw-r--r-- | cpp/src/Freeze/SharedDbEnv.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/Freeze/SharedDbEnv.cpp b/cpp/src/Freeze/SharedDbEnv.cpp index 39df230f32c..9b430ed1806 100644 --- a/cpp/src/Freeze/SharedDbEnv.cpp +++ b/cpp/src/Freeze/SharedDbEnv.cpp @@ -136,9 +136,10 @@ Freeze::SharedDbEnv::~SharedDbEnv() } // - // Release catalog (to close it) + // Release catalogs (to close it) // _catalog = 0; + _catalogIndexList = 0; // // First terminate checkpointing thread @@ -449,9 +450,9 @@ Freeze::SharedDbEnv::SharedDbEnv(const std::string& envName, } // - // Get catalog + // Get catalogs // - _catalog = SharedDb::openCatalog(*this); + SharedDb::openCatalogs(*this, _catalog, _catalogIndexList); } Freeze::CheckpointThread::CheckpointThread(SharedDbEnv& dbEnv, const Time& checkpointPeriod, Int kbyte, Int trace) : |