str stuff
This commit is contained in:
16
db/db.cpp
16
db/db.cpp
@@ -553,6 +553,14 @@ sendmore:
|
||||
Client::initThread("initandlisten");
|
||||
_diaglog.init();
|
||||
|
||||
if (cmdLine.dur)
|
||||
dur::enableDurability();
|
||||
|
||||
getDur().startup();
|
||||
|
||||
if( cmdLine.durOptions & CmdLine::DurRecoverOnly )
|
||||
return;
|
||||
|
||||
clearTmpCollections();
|
||||
|
||||
Module::initAll();
|
||||
@@ -563,14 +571,6 @@ sendmore:
|
||||
globalScriptEngine->setGetInterruptSpecCallback( jsGetInterruptSpecCallback );
|
||||
}
|
||||
|
||||
if (cmdLine.dur)
|
||||
dur::enableDurability();
|
||||
|
||||
getDur().startup();
|
||||
|
||||
if( cmdLine.durOptions & CmdLine::DurRecoverOnly )
|
||||
return;
|
||||
|
||||
repairDatabasesAndCheckVersion();
|
||||
|
||||
/* we didn't want to pre-open all fiels for the repair check above. for regular
|
||||
|
||||
Reference in New Issue
Block a user