mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02: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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue