diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2015-04-20 18:51:35 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2015-04-29 11:55:38 -0400 |
commit | da31be34dc6664d76868543e9ccdaecad4f504c6 (patch) | |
tree | cca380d1419bffe8371f24f73fca169a042b87e1 /src/mongo/db/client.h | |
parent | bdbe140e3cc502a58d50a8ec472bd9c05cf12e4f (diff) | |
download | mongo-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/client.h')
-rw-r--r-- | src/mongo/db/client.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/client.h b/src/mongo/db/client.h index f81bc91bf37..63750b69523 100644 --- a/src/mongo/db/client.h +++ b/src/mongo/db/client.h @@ -40,7 +40,6 @@ #include <boost/thread/thread.hpp> #include "mongo/db/client_basic.h" -#include "mongo/db/lasterror.h" #include "mongo/db/namespace_string.h" #include "mongo/db/operation_context.h" #include "mongo/db/service_context.h" |