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 c577bb8 commit e9e36adCopy full SHA for e9e36ad
ext/pgsql/pgsql.c
@@ -3618,14 +3618,14 @@ PHP_FUNCTION(pg_connection_busy)
3618
}
3619
/* }}} */
3620
3621
-static int _php_pgsql_link_has_results(PGconn *pgsql) /* {{{ */
+static bool _php_pgsql_link_has_results(PGconn *pgsql) /* {{{ */
3622
{
3623
PGresult *result;
3624
while ((result = PQgetResult(pgsql))) {
3625
PQclear(result);
3626
- return 1;
+ return true;
3627
3628
- return 0;
+ return false;
3629
3630
3631
0 commit comments