mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Remove unused def. Add TODO.
This commit is contained in:
parent
90fc47f4d1
commit
b7d1a58e25
@ -2337,7 +2337,6 @@ PHP_FUNCTION(pg_copy_to)
|
||||
PQclear(pgsql_result);
|
||||
}
|
||||
pgsql_result = PQexec(pgsql, query);
|
||||
|
||||
efree(pg_null_as);
|
||||
efree(query);
|
||||
|
||||
@ -2795,10 +2794,8 @@ PHP_FUNCTION(pg_result_status)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
#define QUERY_BUF_SIZE (1023)
|
||||
|
||||
/* {{{ php_pgsql_metadata
|
||||
|
||||
* TODO: Add metadata cache to better performance
|
||||
*/
|
||||
PHPAPI int php_pgsql_metadata(PGconn *pg_link, const char *table_name, zval *meta TSRMLS_DC)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user