From f16db40af23743e80898f06d4475fd8488841293 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Fri, 7 Jan 2005 16:34:55 +0000 Subject: forgot to remove some comments in last commit:( --- ext/mysqli/mysqli.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 062b23bad8..2a98eefb63 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -578,7 +578,8 @@ PHP_MINIT_FUNCTION(mysqli) */ PHP_MSHUTDOWN_FUNCTION(mysqli) { -// zend_hash_destroy(&mysqli_driver_properties); + zend_hash_destroy(&mysqli_driver_properties); + zend_hash_destroy(&mysqli_driver_properties); zend_hash_destroy(&mysqli_result_properties); zend_hash_destroy(&mysqli_stmt_properties); zend_hash_destroy(&mysqli_warning_properties); @@ -750,7 +751,6 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags int class_name_len; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|sz", &mysql_result, mysqli_result_class_entry, &class_name, &class_name_len, &ctor_params) == FAILURE) { - // php_std_error_handling(); return; } if (ZEND_NUM_ARGS() < (getThis() ? 1 : 2)) { @@ -766,14 +766,12 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags } else { if (override_flags) { if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &mysql_result, mysqli_result_class_entry) == FAILURE) { - //php_std_error_handling(); return; } fetchtype = override_flags; } else { fetchtype = MYSQLI_BOTH; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|l", &mysql_result, mysqli_result_class_entry, &fetchtype) == FAILURE) { - // php_std_error_handling(); return; } } -- cgit v1.2.1