diff options
author | Randolph Tan <randolph@10gen.com> | 2014-02-12 14:29:13 -0500 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2014-02-13 10:32:17 -0500 |
commit | 211cac34e574f92cfdf60b7b35312c8a7934118a (patch) | |
tree | 0ac11abf133e7f1df357315d16e60bae28133cba /src/mongo/db/curop.cpp | |
parent | 78b5eeb13142f0d9bcb43e67848d5fec2f29366d (diff) | |
download | mongo-211cac34e574f92cfdf60b7b35312c8a7934118a.tar.gz |
SERVER-12664 Change nUpdated to nMatched in bulk api results
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r-- | src/mongo/db/curop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp index 551d7f92af1..67e1b32184e 100644 --- a/src/mongo/db/curop.cpp +++ b/src/mongo/db/curop.cpp @@ -361,8 +361,8 @@ namespace mongo { returnedCounter.increment( nreturned ); if ( ninserted > 0 ) insertedCounter.increment( ninserted ); - if ( nupdated > 0 ) - updatedCounter.increment( nupdated ); + if ( nMatched > 0 ) + updatedCounter.increment( nMatched ); if ( ndeleted > 0 ) deletedCounter.increment( ndeleted ); if ( nscanned > 0 ) |