mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
assert
This commit is contained in:
parent
d24fe4ca57
commit
54b63e374a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user