mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
Rely on DBDirectClient dummy authorization instead
This commit is contained in:
parent
4fd8be64c8
commit
7487c76283
@ -255,9 +255,6 @@ namespace mongo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void repairDatabases() {
|
void repairDatabases() {
|
||||||
AuthenticationInfo *ai = new AuthenticationInfo();
|
|
||||||
authInfo.reset(ai);
|
|
||||||
|
|
||||||
dblock lk;
|
dblock lk;
|
||||||
vector< string > dbNames;
|
vector< string > dbNames;
|
||||||
getDatabaseNames( dbNames );
|
getDatabaseNames( dbNames );
|
||||||
@ -276,8 +273,6 @@ namespace mongo {
|
|||||||
closeClient( dbName.c_str() );
|
closeClient( dbName.c_str() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
authInfo.reset( 0 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void clearTmpFiles() {
|
void clearTmpFiles() {
|
||||||
|
Loading…
Reference in New Issue
Block a user