summaryrefslogtreecommitdiff
path: root/util/mmap_posix.cpp
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2010-05-30 10:45:58 +0200
committerAntonin Kral <a.kral@bobek.cz>2010-05-30 10:45:58 +0200
commit4a81fe000acddefe863a1719504034833d9840e5 (patch)
tree30ff6616116f99e5fd91d90bd3fb51ce5815a312 /util/mmap_posix.cpp
parent3b11d683965c9336db1b0ea58c7d9906d9302a7b (diff)
downloadmongodb-4a81fe000acddefe863a1719504034833d9840e5.tar.gz
Imported Upstream version 1.4.3
Diffstat (limited to 'util/mmap_posix.cpp')
-rw-r--r--util/mmap_posix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/mmap_posix.cpp b/util/mmap_posix.cpp
index 836373d..a5caf8c 100644
--- a/util/mmap_posix.cpp
+++ b/util/mmap_posix.cpp
@@ -51,6 +51,7 @@ namespace mongo {
void* MemoryMappedFile::map(const char *filename, long &length, int options) {
// length may be updated by callee.
+ _filename = filename;
theFileAllocator().allocateAsap( filename, length );
len = length;