0
0
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:
Eliot Horowitz 2010-06-22 14:04:27 -04:00
parent fd974724b9
commit c2cc43d8ce

View File

@ -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;