summaryrefslogtreecommitdiff
path: root/ext/mysqli
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2005-01-07 16:34:55 +0000
committerGeorg Richter <georg@php.net>2005-01-07 16:34:55 +0000
commitf16db40af23743e80898f06d4475fd8488841293 (patch)
treee6a2abffcb5ca1ed9fac0b36a1b6e20468705456 /ext/mysqli
parent683515596b583f6fe1c5525d1ea0ca11da3d354d (diff)
downloadphp-git-f16db40af23743e80898f06d4475fd8488841293.tar.gz
forgot to remove some comments in last commit:(
Diffstat (limited to 'ext/mysqli')
-rw-r--r--ext/mysqli/mysqli.c6
1 files 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;
}
}