make lasterror threadsafe

rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
This commit is contained in:
Dwight
2009-10-12 15:12:16 -04:00
parent c628c7b93f
commit cf7a86e0f9
21 changed files with 97 additions and 88 deletions

View File

@@ -203,10 +203,10 @@ namespace mongo {
string dbpathString = p.native_directory_string();
dbpath = dbpathString.c_str();
Connection::initThread();
Client::initThread();
acquirePathLock();
srand( seed );
srand( (unsigned) seed );
printGitVersion();
printSysInfo();
out() << "random seed: " << seed << endl;