summaryrefslogtreecommitdiff
path: root/s
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2011-11-16 12:32:42 -0500
committergregs <greg@10gen.com>2011-11-16 12:34:39 -0500
commit771f7f7dd6a6c5634b5990572f89bdd4b1849182 (patch)
tree885a4e927c19895f032f33d3a51330ce8da64fbf /s
parentb9e8ac58d22612acabd534ccc17ebf503370e752 (diff)
downloadmongo-771f7f7dd6a6c5634b5990572f89bdd4b1849182.tar.gz
don't throw away conn on gle SERVER-4290
Diffstat (limited to 's')
-rw-r--r--s/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/s/client.cpp b/s/client.cpp
index f2370a43c44..9058b319895 100644
--- a/s/client.cpp
+++ b/s/client.cpp
@@ -281,6 +281,7 @@ namespace mongo {
catch( std::exception &e ){
warning() << "could not clear last error from a shard " << temp << causedBy( e ) << endl;
}
+ conn.done();
}
clearSinceLastGetError();