summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-08-13 13:26:20 -0400
committerDwight <dmerriman@gmail.com>2009-08-13 13:26:20 -0400
commit03a3531a42c944c33eb7a2378fd86faf687be60d (patch)
treeb0ea8245da72571cfe04aa1a7dabbfea65ca5322
parentf0c2c8003fc89a324e2e47aef0a218ddcd9e0d0d (diff)
parent9f0fde9d3136a1dc22f868b904a8ec61f839f22a (diff)
downloadmongo-03a3531a42c944c33eb7a2378fd86faf687be60d.tar.gz
Merge branch 'master' of git@github.com:mongodb/mongo
-rw-r--r--client/dbclient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp
index 2ecfcc750f8..af87cd463d6 100644
--- a/client/dbclient.cpp
+++ b/client/dbclient.cpp
@@ -819,6 +819,7 @@ namespace mongo {
DBClientConnection& DBClientPaired::slaveConn(){
DBClientConnection& m = checkMaster();
+ assert( ! m.isFailed() );
return master == Left ? right : left;
}