georg Tue Jan 2 05:49:05 2007 UTC Modified files: /php-src/ext/mysqli mysqli_api.c Log: fixed parameters for unicode in mysqli_change_user http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/mysqli_api.c?r1=1.140&r2=1.141&diff_format=u Index: php-src/ext/mysqli/mysqli_api.c diff -u php-src/ext/mysqli/mysqli_api.c:1.140 php-src/ext/mysqli/mysqli_api.c:1.141 --- php-src/ext/mysqli/mysqli_api.c:1.140 Mon Jan 1 09:29:25 2007 +++ php-src/ext/mysqli/mysqli_api.c Tue Jan 2 05:49:05 2007 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli_api.c,v 1.140 2007/01/01 09:29:25 sebastian Exp $ + $Id: mysqli_api.c,v 1.141 2007/01/02 05:49:05 georg Exp $ */ #ifdef HAVE_CONFIG_H @@ -403,7 +403,6 @@ } /* }}} */ - /* {{{ proto bool mysqli_change_user(object link, string user, string password, string database) U Change logged-in user of the active connection */ PHP_FUNCTION(mysqli_change_user) @@ -414,7 +413,7 @@ int user_len, password_len, dbname_len; ulong rc; - if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os&&ss&", &mysql_link, mysqli_link_class_entry, + if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os&s&s&", &mysql_link, mysqli_link_class_entry, &user, &user_len, UG(utf8_conv), &password, &password_len, UG(utf8_conv), &dbname, &dbname_len, UG(utf8_conv)) == FAILURE) { return; @@ -432,7 +431,6 @@ } /* }}} */ - /* {{{ proto string mysqli_character_set_name(object link) U Returns the name of the character set used for this connection */ PHP_FUNCTION(mysqli_character_set_name)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php