- Remove superfluous E_WARNING if mysql_connect() fails; there's already

an E_WARNING a few lines above.
This commit is contained in:
Markus Fischer 2002-10-05 00:54:31 +00:00
parent 6b6fb53d86
commit 945ccfa76a

View File

@ -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();