mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Formalize pdo_dbh_check_liveness_func() return type to zend_result
This commit is contained in:
parent
ca5fcb83bf
commit
6728c1bd72
4 changed files with 4 additions and 4 deletions
|
@ -488,7 +488,7 @@ static int pdo_pgsql_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_
|
|||
}
|
||||
|
||||
/* {{{ */
|
||||
static int pdo_pgsql_check_liveness(pdo_dbh_t *dbh)
|
||||
static zend_result pdo_pgsql_check_liveness(pdo_dbh_t *dbh)
|
||||
{
|
||||
pdo_pgsql_db_handle *H = (pdo_pgsql_db_handle *)dbh->driver_data;
|
||||
if (!PQconsumeInput(H->server) || PQstatus(H->server) == CONNECTION_BAD) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue