From: Georg Richter Date: Mon, 17 Feb 2003 09:38:32 +0000 (+0000) Subject: added close method/alias for result object (for compatibility with statement and X-Git-Tag: RELEASE_0_5~943 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f188f655495336e2cf8b96c75c207cb448a3725;p=php added close method/alias for result object (for compatibility with statement and link objects) --- diff --git a/ext/mysqli/mysqli_fe.c b/ext/mysqli/mysqli_fe.c index d555e47d66..9bb7665abb 100644 --- a/ext/mysqli/mysqli_fe.c +++ b/ext/mysqli/mysqli_fe.c @@ -182,6 +182,7 @@ function_entry mysqli_link_methods[] = { * 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)