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 <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $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)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php