move curNs to Client object

This commit is contained in:
Dwight
2009-10-13 16:01:02 -04:00
parent 1083a425c2
commit 2d934d1006
18 changed files with 101 additions and 66 deletions

View File

@@ -24,6 +24,15 @@ namespace mongo {
boost::thread_specific_ptr<Client> currentClient;
Client::Client() : _ns(""), _nsstr("") {
ai = new AuthenticationInfo();
}
Client::~Client() {
cout << "TEMP" << endl;
delete ai;
}
bool noauth = true;
int AuthenticationInfo::warned;