fix getLastErrorDetailed definitions to match

This commit is contained in:
Eliot Horowitz
2011-10-10 03:26:10 -04:00
parent f727f3b6fe
commit d6f97c514b
4 changed files with 8 additions and 7 deletions

View File

@@ -135,10 +135,10 @@ namespace mongo {
throw UserException( 8001 , (string)"SyncClusterConnection write op failed: " + err.str() );
}
BSONObj SyncClusterConnection::getLastErrorDetailed() {
BSONObj SyncClusterConnection::getLastErrorDetailed(bool fsync, bool j, int w, int wtimeout) {
if ( _lastErrors.size() )
return _lastErrors[0];
return DBClientBase::getLastErrorDetailed();
return DBClientBase::getLastErrorDetailed(fsync,j,w,wtimeout);
}
void SyncClusterConnection::_connect( string host ) {