summaryrefslogtreecommitdiff
path: root/src/mongo/util/mmap_win.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-01-17 17:18:00 -0500
committerEric Milkie <milkie@10gen.com>2014-01-17 17:18:06 -0500
commit7af069e5ac40a7b7a5324124e66a82d16d30e9b5 (patch)
tree5b6b88e2f9b6b0e9ca9a627909bce396000b0177 /src/mongo/util/mmap_win.cpp
parent344596a194f5ae2ac474d24a744f1caa5877023f (diff)
downloadmongo-7af069e5ac40a7b7a5324124e66a82d16d30e9b5.tar.gz
SERVER-12395 add unique id and check when msync fails
Diffstat (limited to 'src/mongo/util/mmap_win.cpp')
-rw-r--r--src/mongo/util/mmap_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/mmap_win.cpp b/src/mongo/util/mmap_win.cpp
index 670f645f1a4..10f5474f4a4 100644
--- a/src/mongo/util/mmap_win.cpp
+++ b/src/mongo/util/mmap_win.cpp
@@ -71,7 +71,7 @@ namespace mongo {
}
MemoryMappedFile::MemoryMappedFile()
- : _flushMutex(new mutex("flushMutex")) {
+ : _flushMutex(new mutex("flushMutex")), _uniqueId(0) {
fd = 0;
maphandle = 0;
len = 0;