[Phplib-commit] CVS: php-lib-stable/php db_mysql.inc,1.12,1.13
Brought to you by:
nhruby,
richardarcher
From: Layne W. <lay...@us...> - 2005-02-19 15:20:29
|
Update of /cvsroot/phplib/php-lib-stable/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6561/php Modified Files: db_mysql.inc Log Message: suppress error messages on connection (if connection fails, we'll use connect_failed()) Index: db_mysql.inc =================================================================== RCS file: /cvsroot/phplib/php-lib-stable/php/db_mysql.inc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** db_mysql.inc 23 Jul 2004 20:36:29 -0000 1.12 --- db_mysql.inc 19 Feb 2005 15:20:18 -0000 1.13 *************** *** 75,81 **** if(!$this->PConnect) { ! $this->Link_ID = mysql_connect($Host, $User, $Password); } else { ! $this->Link_ID = mysql_pconnect($Host, $User, $Password); } if (!$this->Link_ID) { --- 75,81 ---- if(!$this->PConnect) { ! $this->Link_ID = @mysql_connect($Host, $User, $Password); } else { ! $this->Link_ID = @mysql_pconnect($Host, $User, $Password); } if (!$this->Link_ID) { |