diff options
author | dwight <dwight@10gen.com> | 2010-12-19 11:47:39 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2010-12-19 11:47:39 -0500 |
commit | bba46ee7eb764560a9d07aa6e42092fdf3768350 (patch) | |
tree | 53e8a3515b104f7b117cc5c81387f62088f5f7f7 /client | |
parent | ff541b1edda0a17931ff1710962dbd21d768c6e9 (diff) | |
download | mongo-bba46ee7eb764560a9d07aa6e42092fdf3768350.tar.gz |
merge
Diffstat (limited to 'client')
-rw-r--r-- | client/dbclient_rs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/dbclient_rs.cpp b/client/dbclient_rs.cpp index 7280d5a0a60..00e15e825e0 100644 --- a/client/dbclient_rs.cpp +++ b/client/dbclient_rs.cpp @@ -360,7 +360,7 @@ namespace mongo { try { return checkSlave()->query(ns,query,nToReturn,nToSkip,fieldsToReturn,queryOptions,batchSize); } - catch ( DBException & e ){ + catch ( DBException & ){ LOG(1) << "can't query replica set slave: " << _slaveHost << endl; } } @@ -378,7 +378,7 @@ namespace mongo { try { return checkSlave()->findOne(ns,query,fieldsToReturn,queryOptions); } - catch ( DBException & e ){ + catch ( DBException & ){ LOG(1) << "can't query replica set slave: " << _slaveHost << endl; } } |