diff options
author | Dwight <dmerriman@gmail.com> | 2008-04-30 19:31:54 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2008-04-30 19:31:54 -0400 |
commit | d67a202c1401bef19321db91b7ccc8bb69ccaf39 (patch) | |
tree | 7979962172e7404610e0213a6d45a3a13fdcc18b /db | |
parent | 9b01407c9fd32d3c208346857499e745b2f5c6e8 (diff) | |
download | mongo-d67a202c1401bef19321db91b7ccc8bb69ccaf39.tar.gz |
sai hack
Diffstat (limited to 'db')
-rw-r--r-- | db/db.cpp | 5 | ||||
-rw-r--r-- | db/pdfile.cpp | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/db/db.cpp b/db/db.cpp index 58aa29dfd7b..cba169ce5be 100644 --- a/db/db.cpp +++ b/db/db.cpp @@ -271,8 +271,9 @@ public: };
void listen(int port) {
- problem() << "db version: 107 apr2008 group" << endl;
- cout << "db version: 107 apr2008 group" << endl;
+ const char *Version = "db version: 108 30apr2008 sai hack";
+ problem() << Version << endl;
+ cout << Version << endl;
pdfileInit();
testTheDb();
cout << curTimeMillis() % 10000 << " waiting for connections on port " << port << " ...\n" << endl;
diff --git a/db/pdfile.cpp b/db/pdfile.cpp index 972407e4095..94304ff35f5 100644 --- a/db/pdfile.cpp +++ b/db/pdfile.cpp @@ -354,8 +354,8 @@ void PhysicalDataFile::open(int fn, const char *filename) { if( fn <= 4 ) {
length = (64*1024*1024) << fn;
- if( strstr(filename, "alleyinsider") && length < 512 * 1024 * 1024 )
- length = 512 * 1024 * 1024;
+ if( strstr(filename, "alleyinsider") && length < 1024 * 1024 * 1024 )
+ length = 1024 * 1024 * 1024;
} else
length = 0x7ff00000;
|