From f0d9a01bccdaeb466c12c92057914bbfef59526c Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Thu, 15 Dec 2011 09:35:47 +0100 Subject: Imported Upstream version 2.0.2 --- db/ops/update.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'db/ops/update.cpp') diff --git a/db/ops/update.cpp b/db/ops/update.cpp index fd9798a..6a7aad4 100644 --- a/db/ops/update.cpp +++ b/db/ops/update.cpp @@ -1354,7 +1354,8 @@ namespace mongo { logOp( "i", ns, no ); return UpdateResult( 0 , 0 , 1 , no ); } - return UpdateResult( 0 , 0 , 0 ); + + return UpdateResult( 0 , isOperatorUpdate , 0 ); } UpdateResult updateObjects(const char *ns, const BSONObj& updateobj, BSONObj patternOrig, bool upsert, bool multi, bool logop , OpDebug& debug ) { -- cgit v1.2.3