summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/update_result.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-04-20 18:51:35 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-29 11:55:38 -0400
commitda31be34dc6664d76868543e9ccdaecad4f504c6 (patch)
treecca380d1419bffe8371f24f73fca169a042b87e1 /src/mongo/db/ops/update_result.cpp
parentbdbe140e3cc502a58d50a8ec472bd9c05cf12e4f (diff)
downloadmongo-da31be34dc6664d76868543e9ccdaecad4f504c6.tar.gz
SERVER-18131 Clean up LastError.
Makes LastError a decoration on Client. Removes behavior that was specific to the dbKillCursors wire protocol message into the processing for that message, and out of last error. Simplifies lifetime of LastError. It always exists on Clients, so there's no checking for its existence, and no passing it around through parts of the networking library.
Diffstat (limited to 'src/mongo/db/ops/update_result.cpp')
-rw-r--r--src/mongo/db/ops/update_result.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/ops/update_result.cpp b/src/mongo/db/ops/update_result.cpp
index f5e31c1a3d8..64b33243131 100644
--- a/src/mongo/db/ops/update_result.cpp
+++ b/src/mongo/db/ops/update_result.cpp
@@ -34,6 +34,7 @@
#include "mongo/db/ops/update_result.h"
+#include "mongo/db/lasterror.h"
#include "mongo/util/log.h"
namespace mongo {