diff options
Diffstat (limited to 'src/mongo/db/commands/apply_ops.cpp')
-rw-r--r-- | src/mongo/db/commands/apply_ops.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/commands/apply_ops.cpp b/src/mongo/db/commands/apply_ops.cpp index 5342d8ac1c8..3222c371ddc 100644 --- a/src/mongo/db/commands/apply_ops.cpp +++ b/src/mongo/db/commands/apply_ops.cpp @@ -80,10 +80,7 @@ namespace mongo { BSONObj& cmdObj, int, string& errmsg, - BSONObjBuilder& result, - bool fromRepl) { - invariant(!fromRepl == txn->writesAreReplicated()); - + BSONObjBuilder& result) { if ( cmdObj.firstElement().type() != Array ) { errmsg = "ops has to be an array"; return false; |