diff options
author | Dwight <dmerriman@gmail.com> | 2009-03-24 12:53:13 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-03-24 12:53:13 -0400 |
commit | 64ed02b27d62e9b9c38bfca78a0ec76bda8ba5e0 (patch) | |
tree | 75b6fc8efd174c67b5c008f92fa3fdf411dc27b9 /db/database.h | |
parent | 2ebf2a487454f5c6a27c7a67740a0f20c0cb31db (diff) | |
download | mongo-64ed02b27d62e9b9c38bfca78a0ec76bda8ba5e0.tar.gz |
recstore: closeFiles() support
Diffstat (limited to 'db/database.h')
-rw-r--r-- | db/database.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/database.h b/db/database.h index f71200fbd3b..4090917f008 100644 --- a/db/database.h +++ b/db/database.h @@ -49,6 +49,7 @@ namespace mongo { profileName = name + ".system.profile"; } ~Database() { + btreeStore->closeFiles(name, path); int n = files.size(); for ( int i = 0; i < n; i++ ) delete files[i]; |