FreeBSD/contrib/subversion/subversion/libsvn_fs_base/bdb/bdb-err.c
/* Return a distinguished error for any db error code we want to detect
 * programatically; otherwise return a generic error.
 */
Return a distinguished error for any db error code we want to detect
programatically; otherwise return a generic error.
Return a distinguished error for any db error code we want to detect programatically ; otherwise return a generic error .
static int
bdb_err_to_apr_err(int db_err)
{
  if (db_err == DB_LOCK_DEADLOCK)
    return SVN_ERR_FS_BERKELEY_DB_DEADLOCK;
  else
    return SVN_ERR_FS_BERKELEY_DB;
}
static int bdb_err_to_apr_err ( int db_err ) { if ( db_err == DB_LOCK_DEADLOCK ) return SVN_ERR_FS_BERKELEY_DB_DEADLOCK ; else return SVN_ERR_FS_BERKELEY_DB ; }
Return a distinguished error for any db error code we want to detect
 programatically; otherwise return a generic error.
Return a distinguished error for any db error code we want to detect programatically ; otherwise return a generic error .