mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
forgot to remove some comments in last commit:(
This commit is contained in:
parent
683515596b
commit
f16db40af2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user