0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Eliot Horowitz 2010-07-20 17:00:40 -04:00
parent d24fe4ca57
commit 54b63e374a

View File

@ -227,7 +227,9 @@ namespace mongo {
};
inline Client& cc() {
return *currentClient.get();
Client * c = currentClient.get();
assert( c );
return *c;
}
/* each thread which does db operations has a Client object in TLS.