summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-07-10 09:38:50 -0400
committerEric Milkie <milkie@10gen.com>2012-07-10 09:38:50 -0400
commitafd5eb4e2cf72b13d8d8c4d96f13347accc19be7 (patch)
treea2989b3e3c183ee80669f5e03c1ea3d7a89f46e5
parentb0e8e2bfa99cd6c7c197936d0b9859295c8ab1d4 (diff)
downloadmongo-afd5eb4e2cf72b13d8d8c4d96f13347accc19be7.tar.gz
SERVER-6372 fassert does not exist in 2.0
-rw-r--r--util/mmap_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mmap_win.cpp b/util/mmap_win.cpp
index 780aa46052f..61864f9ea43 100644
--- a/util/mmap_win.cpp
+++ b/util/mmap_win.cpp
@@ -236,14 +236,14 @@ namespace mongo {
<< " attempts taking " << t.millis()
<< " ms" << endl;
// Abort here to avoid data corruption
- fassert(16387, false);
+ abort();
}
success = FALSE != FlushFileBuffers(_fd);
if (!success) {
int err = GetLastError();
out() << "FlushFileBuffers failed " << err << " file: " << _filename << endl;
- fassert(16388, false);
+ abort();
}
}