mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
apr_dbd_check_conn() just returns APR_SUCCESS or APR_EGENERAL, so we
don't actually have a driver-specific value to pass to apr_dbd_error(), but that's OK because most/all drivers just ignore this value anyway git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@539687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -706,7 +706,10 @@ static apr_status_t dbd_check(apr_pool_t *pool, server_rec *s, ap_dbd_t *rec)
|
|||||||
return APR_SUCCESS;
|
return APR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
errmsg = apr_dbd_error(rec->driver, rec->handle, rv);
|
/* we don't have a driver-specific error code, so we'll just pass
|
||||||
|
* a "success" value and rely on the driver to ignore it
|
||||||
|
*/
|
||||||
|
errmsg = apr_dbd_error(rec->driver, rec->handle, 0);
|
||||||
if (!errmsg) {
|
if (!errmsg) {
|
||||||
errmsg = "(unknown)";
|
errmsg = "(unknown)";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user