0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
This commit is contained in:
Aaron 2009-02-04 20:08:43 -05:00
parent a7a8433fae
commit 04c18a8576

View File

@ -751,7 +751,7 @@ namespace mongo {
}
else if ( isMaster() ||
c->slaveOk() ||
( c->slaveOverrideOk() && ( queryOptions | Option_SlaveOk ) ) ||
( c->slaveOverrideOk() && ( queryOptions & Option_SlaveOk ) ) ||
fromRepl ) {
ok = c->run(ns, jsobj, errmsg, anObjBuilder, fromRepl);
if ( ok && c->logTheOp() && !fromRepl )