georg Fri Jan 7 11:34:55 2005 EDT
Modified files:
/php-src/ext/mysqli mysqli.c
Log:
forgot to remove some comments in last commit:(
http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli.c?r1=1.58&r2=1.59&ty=u
Index: php-src/ext/mysqli/mysqli.c
diff -u php-src/ext/mysqli/mysqli.c:1.58 php-src/ext/mysqli/mysqli.c:1.59
--- php-src/ext/mysqli/mysqli.c:1.58 Fri Jan 7 09:59:59 2005
+++ php-src/ext/mysqli/mysqli.c Fri Jan 7 11:34:55 2005
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: mysqli.c,v 1.58 2005/01/07 14:59:59 georg Exp $
+ $Id: mysqli.c,v 1.59 2005/01/07 16:34:55 georg Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -578,7 +578,8 @@
*/
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 @@
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 @@
} 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;
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php