mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
MFH: Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect())
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user