mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect())
This commit is contained in:
parent
5c5d5dd0f6
commit
369bf690c4
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
|||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!ll", &host_and_port, &host_len,
|
||||
&user, &user_len, &passwd, &passwd_len,
|
||||
&new_link, &client_flags)==FAILURE) {
|
||||
WRONG_PARAM_COUNT;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!host_and_port) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue