summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-05-03 08:29:34 -0400
committerEliot Horowitz <eliot@10gen.com>2010-05-03 08:30:02 -0400
commit4e6d4b0a3d1214d37ae12c941158acc61ae2fa96 (patch)
tree34a6bb02284778d11bd9739f8bdc28e22f8dd191
parent57956a51fc7213014fc640326349201ffd393244 (diff)
downloadmongo-4e6d4b0a3d1214d37ae12c941158acc61ae2fa96.tar.gz
DBClientPaired::isFailed is backwards SERVER-1076
-rw-r--r--client/dbclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dbclient.h b/client/dbclient.h
index ebd3b7379de..a2fad8e260d 100644
--- a/client/dbclient.h
+++ b/client/dbclient.h
@@ -919,7 +919,7 @@ namespace mongo {
bool isFailed() const {
// TODO: this really should check isFailed on current master as well
- return master > NotSetR;
+ return master < Left;
}
};