0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Dwight 2010-12-15 10:48:55 -05:00
parent 6689861a0d
commit dd6beabbbf
2 changed files with 2 additions and 1 deletions

View File

@ -561,6 +561,7 @@ sendmore:
if( cmdLine.durOptions & CmdLine::DurRecoverOnly )
return;
// comes after getDur().startup() because this reads from the database
clearTmpCollections();
Module::initAll();

View File

@ -172,7 +172,7 @@ namespace mongoutils {
}
/** remove trailing chars in place */
inline bool stripTrailing(string& s, const char *chars) {
inline void stripTrailing(string& s, const char *chars) {
string::iterator i = s.end();
while( s.begin() != i ) {
i--;