mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
- Remove superfluous E_WARNING if mysql_connect() fails; there's already
an E_WARNING a few lines above.
This commit is contained in:
parent
6b6fb53d86
commit
945ccfa76a
@ -761,7 +761,6 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
#if defined(HAVE_MYSQL_ERRNO)
|
||||
MySG(connect_errno)=mysql_errno(&mysql->conn);
|
||||
#endif
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "MySQL Connection Failed: %s\n", mysql_error(&mysql->conn));
|
||||
efree(hashed_details);
|
||||
efree(mysql);
|
||||
MYSQL_DO_CONNECT_RETURN_FALSE();
|
||||
|
Loading…
Reference in New Issue
Block a user