summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2014-02-12 14:29:13 -0500
committerRandolph Tan <randolph@10gen.com>2014-02-13 10:32:17 -0500
commit211cac34e574f92cfdf60b7b35312c8a7934118a (patch)
tree0ac11abf133e7f1df357315d16e60bae28133cba /src/mongo/db/client.cpp
parent78b5eeb13142f0d9bcb43e67848d5fec2f29366d (diff)
downloadmongo-211cac34e574f92cfdf60b7b35312c8a7934118a.tar.gz
SERVER-12664 Change nUpdated to nMatched in bulk api results
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r--src/mongo/db/client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index b0119994535..6831053b5dd 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -554,7 +554,7 @@ namespace mongo {
nscanned = -1;
idhack = false;
scanAndOrder = false;
- nupdated = -1;
+ nMatched = -1;
nModified = -1;
ninserted = -1;
ndeleted = -1;
@@ -622,7 +622,7 @@ namespace mongo {
OPDEBUG_TOSTRING_HELP_BOOL( idhack );
OPDEBUG_TOSTRING_HELP_BOOL( scanAndOrder );
OPDEBUG_TOSTRING_HELP( nmoved );
- OPDEBUG_TOSTRING_HELP( nupdated );
+ OPDEBUG_TOSTRING_HELP( nMatched );
OPDEBUG_TOSTRING_HELP( nModified );
OPDEBUG_TOSTRING_HELP( ninserted );
OPDEBUG_TOSTRING_HELP( ndeleted );
@@ -715,7 +715,7 @@ namespace mongo {
OPDEBUG_APPEND_BOOL( scanAndOrder );
OPDEBUG_APPEND_BOOL( moved );
OPDEBUG_APPEND_NUMBER( nmoved );
- OPDEBUG_APPEND_NUMBER( nupdated );
+ OPDEBUG_APPEND_NUMBER( nMatched );
OPDEBUG_APPEND_NUMBER( nModified );
OPDEBUG_APPEND_NUMBER( ninserted );
OPDEBUG_APPEND_NUMBER( ndeleted );