make lasterror threadsafe
rename Connection -> Client lasterror code easier to read bunch of windows warnings eliminated
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user