aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mysql.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-12-23 15:07:52 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-12-23 15:07:52 +0000
commit409dfe52565b850c9a60aa360e9df44bd73f6ce6 (patch)
treed9afb6fdd52b35d6bf722f273f21f501af1474fb /phpBB/includes/db/mysql.php
parent035fe7426478acf024043d60247cd018492ce009 (diff)
downloadforums-409dfe52565b850c9a60aa360e9df44bd73f6ce6.tar
forums-409dfe52565b850c9a60aa360e9df44bd73f6ce6.tar.gz
forums-409dfe52565b850c9a60aa360e9df44bd73f6ce6.tar.bz2
forums-409dfe52565b850c9a60aa360e9df44bd73f6ce6.tar.xz
forums-409dfe52565b850c9a60aa360e9df44bd73f6ce6.zip
Fix Bug #55785 - Correct call to mysql_pconnect().
Note: As pointed out by gn#36, phpBB doesn't use persistent connections at all. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10375 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/mysql.php')
-rw-r--r--phpBB/includes/db/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php
index c03b38708c..0487dfa6d2 100644
--- a/phpBB/includes/db/mysql.php
+++ b/phpBB/includes/db/mysql.php
@@ -44,7 +44,7 @@ class dbal_mysql extends dbal
$this->sql_layer = 'mysql4';
- $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $sqlpassword, $new_link) : @mysql_connect($this->server, $this->user, $sqlpassword, $new_link);
+ $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $sqlpassword) : @mysql_connect($this->server, $this->user, $sqlpassword, $new_link);
if ($this->db_connect_id && $this->dbname != '')
{