diff options
author | Dwight <dmerriman@gmail.com> | 2009-08-13 13:26:20 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-08-13 13:26:20 -0400 |
commit | 03a3531a42c944c33eb7a2378fd86faf687be60d (patch) | |
tree | b0ea8245da72571cfe04aa1a7dabbfea65ca5322 | |
parent | f0c2c8003fc89a324e2e47aef0a218ddcd9e0d0d (diff) | |
parent | 9f0fde9d3136a1dc22f868b904a8ec61f839f22a (diff) | |
download | mongo-03a3531a42c944c33eb7a2378fd86faf687be60d.tar.gz |
Merge branch 'master' of git@github.com:mongodb/mongo
-rw-r--r-- | client/dbclient.cpp | 1 |
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; } |