]> granicus.if.org Git - php/commitdiff
added close method/alias for result object (for compatibility with statement and
authorGeorg Richter <georg@php.net>
Mon, 17 Feb 2003 09:38:32 +0000 (09:38 +0000)
committerGeorg Richter <georg@php.net>
Mon, 17 Feb 2003 09:38:32 +0000 (09:38 +0000)
link objects)

ext/mysqli/mysqli_fe.c

index d555e47d66ed5439b9d44635abf0f599f1899931..9bb7665abb1594979d4adce22b2a32b8371babe4 100644 (file)
@@ -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)