summaryrefslogtreecommitdiff
path: root/client/dbclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/dbclient.cpp')
-rw-r--r--client/dbclient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp
index 67ecea0..6b9631b 100644
--- a/client/dbclient.cpp
+++ b/client/dbclient.cpp
@@ -952,6 +952,7 @@ namespace mongo {
an exception. we should make it return void and just throw an exception anytime
it fails
*/
+ checkConnection();
try {
if ( !port().call(toSend, response) ) {
_failed = true;