From b7d1a58e25870cb33063991e74ecc39d3b4c4c6c Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Mon, 30 Sep 2002 04:15:01 +0000 Subject: [PATCH] Remove unused def. Add TODO. --- ext/pgsql/pgsql.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 6c3a995b6a9..21de00aafad 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -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) {