mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
TEMP FIX - ensure that indexes.dat goes to the specified
db path. Someone please turn into usual db style
This commit is contained in:
parent
8098043bb8
commit
5398a8bce6
@ -314,7 +314,11 @@ namespace mongo {
|
||||
log() << "opLogging = " << opLogging << endl;
|
||||
_oplog.init();
|
||||
|
||||
RecCache::tempStore.init("/data/db/indexes.dat", BucketSize);
|
||||
// HELP! FIX ME! I'm A TEMP HACK!
|
||||
stringstream indexpath;
|
||||
indexpath << dbpath << "/indexes.dat";
|
||||
//RecCache::tempStore.init("/data/db/indexes.dat", BucketSize);
|
||||
RecCache::tempStore.init(indexpath.str().c_str(), BucketSize);
|
||||
|
||||
#if !defined(_WIN32)
|
||||
pid_t pid = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user