summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-04-23 17:50:55 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-23 18:02:53 -0400
commitab8295bf7cc572a391e8c364b5291f1d9b3b0720 (patch)
tree440f00fab6ef56747c46bdc995fc41a07aa45845 /src/mongo/db/client.cpp
parent1f24d43e419b674bfe866bdebf8224d44fa163b0 (diff)
downloadmongo-ab8295bf7cc572a391e8c364b5291f1d9b3b0720.tar.gz
Revert "SERVER-18131 Clean up LastError."
This reverts commit 54c25da33ec7270295c8948f6a51376ec4fd278c and commit c952a9396a1843aa45d6afa3c6785dec607de112.
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r--src/mongo/db/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index a2e510f4bb0..cc4a7c69cab 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -83,6 +83,7 @@ namespace mongo {
}
setThreadName(fullDesc.c_str());
+ mongo::lastError.initThread();
// Create the client obj, attach to thread
*currentClient.get() = service->makeClient(fullDesc, mp);