diff options
| author | Georg Richter <georg@php.net> | 2007-01-02 05:49:05 +0000 |
|---|---|---|
| committer | Georg Richter <georg@php.net> | 2007-01-02 05:49:05 +0000 |
| commit | f9fe766355bfba6ab36f9117d6311f6c05543875 (patch) | |
| tree | 308a589c9677f70a8ac9f160babcef4644ae6432 /ext/mysqli/mysqli_api.c | |
| parent | 1cb89891291f17279348c5adc641cdc78d6d7e61 (diff) | |
| download | php-git-f9fe766355bfba6ab36f9117d6311f6c05543875.tar.gz | |
fixed parameters for unicode in mysqli_change_user
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
| -rw-r--r-- | ext/mysqli/mysqli_api.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 95df2fe90a..a13aad652c 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -403,7 +403,6 @@ PHP_FUNCTION(mysqli_stmt_bind_result) } /* }}} */ - /* {{{ 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 @@ PHP_FUNCTION(mysqli_change_user) 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 @@ PHP_FUNCTION(mysqli_change_user) } /* }}} */ - /* {{{ 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) |
