summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2003-02-17 09:38:32 +0000
committerGeorg Richter <georg@php.net>2003-02-17 09:38:32 +0000
commit1f188f655495336e2cf8b96c75c207cb448a3725 (patch)
tree5b5b818bbd3e78275d015a88afd6a5d1ce1eeb7f
parent1076328edbc6d9248be9246975b8240398ba856c (diff)
downloadphp-git-1f188f655495336e2cf8b96c75c207cb448a3725.tar.gz
added close method/alias for result object (for compatibility with statement and
link objects)
-rw-r--r--ext/mysqli/mysqli_fe.c1
1 files changed, 1 insertions, 0 deletions
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)