From ab8295bf7cc572a391e8c364b5291f1d9b3b0720 Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Thu, 23 Apr 2015 17:50:55 -0400 Subject: Revert "SERVER-18131 Clean up LastError." This reverts commit 54c25da33ec7270295c8948f6a51376ec4fd278c and commit c952a9396a1843aa45d6afa3c6785dec607de112. --- src/mongo/db/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mongo/db/client.cpp') 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); -- cgit v1.2.1