mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
defensive - trying to figure out mac issue
This commit is contained in:
parent
fd974724b9
commit
c2cc43d8ce
@ -167,7 +167,9 @@ namespace mongo {
|
||||
|
||||
assert( strstr( ns , "local.oplog.$" ) == ns );
|
||||
|
||||
BSONObj rid = curop.getClient()->getRemoteID();
|
||||
Client * c = curop.getClient();
|
||||
assert(c);
|
||||
BSONObj rid = c->getRemoteID();
|
||||
if ( rid.isEmpty() )
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user