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/SConscript | |
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/SConscript')
-rw-r--r-- | src/mongo/SConscript | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 1804251f3aa..8f54fddfdc5 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -156,8 +156,9 @@ env.Library( env.Library('lasterror', [ "db/lasterror.cpp", ], - LIBDEPS=['util/net/network', - 'util/foundation', + LIBDEPS=[ + 'service_context', + 'util/foundation', ]) def getSysInfo(): @@ -508,8 +509,9 @@ env.Library( 'db/service_context_noop.cpp', ], LIBDEPS=[ - 'lasterror', # TODO(schwerin): REMOVE! + 'util/concurrency/spin_lock', 'util/decorable', + 'util/net/hostandport', ]) # Memory-mapped files support. Used by mongod and some tools. |