diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-05-03 09:56:24 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-05-03 09:56:24 -0400 |
commit | dc2f8cd3df44ea33f9813aadb27804e084abea11 (patch) | |
tree | bb4ef921358f4ed2daf5219ff0b0859cd1e3e43f | |
parent | 98c748b29587908d2566fa03f81bd3d3186748bf (diff) | |
download | mongo-dc2f8cd3df44ea33f9813aadb27804e084abea11.tar.gz |
SERVER-5754: Fix erroneous assertion in db/pdfile.cpp.
-rw-r--r-- | db/pdfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp index ead0b2f3ebe..60914d9b904 100644 --- a/db/pdfile.cpp +++ b/db/pdfile.cpp @@ -434,7 +434,7 @@ namespace mongo { } Extent* MongoDataFile::createExtent(const char *ns, int approxSize, bool newCapped, int loops) { - assert( approxSize < Extent::maxSize() ); + assert( approxSize <= Extent::maxSize() ); { // make sizes align with VM page size int newSize = (approxSize + 0xfff) & 0xfffff000; |