mirror of
https://github.com/danog/ext-pq.git
synced 2024-11-27 12:24:52 +01:00
fix missing return
This commit is contained in:
parent
7f802ff719
commit
1022b014e0
@ -977,6 +977,7 @@ static PHP_METHOD(pqconn, poll) {
|
||||
if (obj->poller == PQconsumeInput) {
|
||||
RETVAL_LONG(obj->poller(obj->conn) * PGRES_POLLING_OK);
|
||||
php_pqconn_notify_listeners(getThis(), obj TSRMLS_CC);
|
||||
return;
|
||||
} else {
|
||||
RETURN_LONG(obj->poller(obj->conn));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user