cvs: php4 /ext/mysql php_mysql.c

From: Date: Sat, 05 Oct 2002 00:54:32 +0000
Subject: cvs: php4 /ext/mysql php_mysql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14561@lists.php.net to get a copy of this message
mfischer Fri Oct 4 20:54:32 2002 EDT Modified files: /php4/ext/mysql php_mysql.c Log: - Remove superfluous E_WARNING if mysql_connect() fails; there's already an E_WARNING a few lines above. Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.162 php4/ext/mysql/php_mysql.c:1.163 --- php4/ext/mysql/php_mysql.c:1.162 Wed Oct 2 22:32:09 2002 +++ php4/ext/mysql/php_mysql.c Fri Oct 4 20:54:31 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mysql.c,v 1.162 2002/10/03 02:32:09 yohgaki Exp $ */ +/* $Id: php_mysql.c,v 1.163 2002/10/05 00:54:31 mfischer Exp $ */ /* TODO: * @@ -761,7 +761,6 @@ #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();

« previous php.cvs (#14561) next »