0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

init threads in unit tests

This commit is contained in:
Eliot Horowitz 2009-10-09 15:24:27 -04:00
parent 67e37aa4b9
commit b5a5b5deb4

View File

@ -203,6 +203,7 @@ namespace mongo {
string dbpathString = p.native_directory_string();
dbpath = dbpathString.c_str();
Connection::initThread();
acquirePathLock();
srand( seed );