do not use mysql_pconnect

mysql_pconnect leaves stray mysql connexions lying around and we do our own connexion management anyways
This commit is contained in:
Antoine Beaupr�� 2014-11-05 21:52:36 +00:00
parent 4c4cd25bce
commit c9c381f406
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class DB_Sql {
/* establish connection, select database */
if ( 0 == $this->Link_ID ) {
$this->Link_ID=mysql_pconnect($Host, $User, $Password);
$this->Link_ID=mysql_connect($Host, $User, $Password);
if (!$this->Link_ID) {
$this->halt("pconnect($Host, $User, \$Password) failed.");
return 0;