[php-src] master: Fix pgsql func info

From: Date: Wed, 28 Apr 2021 08:14:40 +0000
Subject: [php-src] master: Fix pgsql func info
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115911@lists.php.net to get a copy of this message
Author: Nikita Popov (nikic) Date: 2021-04-28T10:14:29+02:00 Commit: https://github.com/php/php-src/commit/2ffab441c89214a5a649e5829377d32eeb789efd Raw diff: https://github.com/php/php-src/commit/2ffab441c89214a5a649e5829377d32eeb789efd.diff Fix pgsql func info Some functions can now return a value with refcount > 1. Changed paths: M Zend/Optimizer/zend_func_info.c Diff: diff --git a/Zend/Optimizer/zend_func_info.c b/Zend/Optimizer/zend_func_info.c index 797af0e02dff7..88441aba616bc 100644 --- a/Zend/Optimizer/zend_func_info.c +++ b/Zend/Optimizer/zend_func_info.c @@ -687,7 +687,6 @@ static const func_info_t func_infos[] = { F1("pg_connect", MAY_BE_FALSE | MAY_BE_RESOURCE), FN("pg_pconnect", MAY_BE_FALSE | MAY_BE_RESOURCE), F1("pg_dbname", MAY_BE_STRING), - F1("pg_last_error", MAY_BE_STRING), F1("pg_options", MAY_BE_STRING), F1("pg_port", MAY_BE_STRING), F1("pg_tty", MAY_BE_STRING), @@ -699,9 +698,7 @@ static const func_info_t func_infos[] = { F1("pg_prepare", MAY_BE_FALSE | MAY_BE_RESOURCE), F1("pg_execute", MAY_BE_FALSE | MAY_BE_RESOURCE), FN("pg_last_notice", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY ), - F1("pg_field_table", MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_STRING), F1("pg_field_name", MAY_BE_STRING), - F1("pg_field_type", MAY_BE_STRING), F1("pg_field_type_oid", MAY_BE_LONG | MAY_BE_STRING), F1("pg_fetch_result", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), F1("pg_fetch_row", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING),

« previous php.cvs (#115911) next »