cvs: php4 /ext/mysqli mysqli_fe.c
| From: | Georg Richter | Date: | Mon, 17 Feb 2003 09:38:33 +0000 |
| Subject: | cvs: php4 /ext/mysqli mysqli_fe.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18912@lists.php.net to get a copy of this message | ||
georg Mon Feb 17 04:38:33 2003 EDT
Modified files:
/php4/ext/mysqli mysqli_fe.c
Log:
added close method/alias for result object (for compatibility with statement and
link objects)
Index: php4/ext/mysqli/mysqli_fe.c
diff -u php4/ext/mysqli/mysqli_fe.c:1.5 php4/ext/mysqli/mysqli_fe.c:1.6
--- php4/ext/mysqli/mysqli_fe.c:1.5 Sun Feb 16 07:03:37 2003
+++ php4/ext/mysqli/mysqli_fe.c Mon Feb 17 04:38:32 2003
@@ -15,7 +15,7 @@
| Author: Georg Richter <georg@php.net> |
+----------------------------------------------------------------------+
- $Id: mysqli_fe.c,v 1.5 2003/02/16 12:03:37 georg Exp $
+ $Id: mysqli_fe.c,v 1.6 2003/02/17 09:38:32 georg Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -182,6 +182,7 @@
* Every user visible function must have an entry in mysqli_result_functions[].
*/
function_entry mysqli_result_methods[] = {
+ PHP_FALIAS(close,mysqli_free_result,NULL)
PHP_FALIAS(data_seek,mysqli_data_seek,NULL)
PHP_FALIAS(fetch_field,mysqli_fetch_field,NULL)
PHP_FALIAS(fetch_fields,mysqli_fetch_fields,NULL)