We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae9922 commit a5fb43fCopy full SHA for a5fb43f
ext/pgsql/pgsql.c
@@ -3629,14 +3629,14 @@ PHP_FUNCTION(pg_connection_busy)
3629
}
3630
/* }}} */
3631
3632
-static int _php_pgsql_link_has_results(PGconn *pgsql) /* {{{ */
+static bool _php_pgsql_link_has_results(PGconn *pgsql) /* {{{ */
3633
{
3634
PGresult *result;
3635
while ((result = PQgetResult(pgsql))) {
3636
PQclear(result);
3637
- return 1;
+ return true;
3638
3639
- return 0;
+ return false;
3640
3641
3642
0 commit comments