diff options
author | dwight <dwight@10gen.com> | 2011-01-08 13:43:35 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-01-08 13:43:35 -0500 |
commit | f07eb9c5b31baa002abf7f94418515564de4f731 (patch) | |
tree | d38beb823bc7a6c6c226e713d107dc44a3b79903 /dbtests | |
parent | 13b139f6c13a47116c33a665f7848473f45624ef (diff) | |
download | mongo-f07eb9c5b31baa002abf7f94418515564de4f731.tar.gz |
work on 32 bit with --dur. in that situation how much we can map is fairly low
Diffstat (limited to 'dbtests')
-rw-r--r-- | dbtests/pdfiletests.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dbtests/pdfiletests.cpp b/dbtests/pdfiletests.cpp index 3345ba520ee..2844fc47473 100644 --- a/dbtests/pdfiletests.cpp +++ b/dbtests/pdfiletests.cpp @@ -354,9 +354,13 @@ namespace PdfileTests { //int small = 1024; unsigned long long l = 0; + int n = 0; while ( 1 ) { + n++; + if( n == 5 && sizeof(void*)==4 ) + break; MongoDataFile * f = d->addAFile( big , false ); - cout << f->length() << endl; + cout << f->length() << ' ' << n << endl; if ( f->length() == l ) break; l = f->length(); |