summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-08-28 10:17:04 -0400
committerEliot Horowitz <eliot@10gen.com>2009-08-28 10:17:32 -0400
commit1a4490dbba239189489c8630ad8da27a95cf0c2d (patch)
treedad07a316dfd9fb015389b1992d89c01c2be0d2a /db
parentafe21e02c11f9a923ab1c95edf6fdd95b9a4a51e (diff)
downloadmongo-1a4490dbba239189489c8630ad8da27a95cf0c2d.tar.gz
validate() says invalid if more than 20 files SERVER-269
Diffstat (limited to 'db')
-rw-r--r--db/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/storage.h b/db/storage.h
index bc37632f30a..d0aaa3a0367 100644
--- a/db/storage.h
+++ b/db/storage.h
@@ -55,7 +55,7 @@ namespace mongo {
bool questionable() {
return ofs < -1 ||
fileNo < -1 ||
- fileNo > 20;
+ fileNo > 524288;
}
bool isNull() const {