cvs: php4 /ext/pgsql pgsql.c
| From: | Yasuo Ohgaki | Date: | Mon, 30 Sep 2002 04:15:02 +0000 |
| Subject: | cvs: php4 /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14345@lists.php.net to get a copy of this message | ||
yohgaki Mon Sep 30 00:15:02 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Remove unused def. Add TODO.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.219 php4/ext/pgsql/pgsql.c:1.220
--- php4/ext/pgsql/pgsql.c:1.219 Sun Sep 29 23:51:54 2002
+++ php4/ext/pgsql/pgsql.c Mon Sep 30 00:15:01 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.219 2002/09/30 03:51:54 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.220 2002/09/30 04:15:01 yohgaki Exp $ */
#include <stdlib.h>
@@ -2337,7 +2337,6 @@
PQclear(pgsql_result);
}
pgsql_result = PQexec(pgsql, query);
-
efree(pg_null_as);
efree(query);
@@ -2795,10 +2794,8 @@
}
/* }}} */
-#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)
{