mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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
This commit is contained in:
parent
035fe74264
commit
409dfe5256
2 changed files with 2 additions and 1 deletions
|
@ -123,6 +123,7 @@
|
||||||
<li>[Fix] Use correct limit config parameter in the News feed.</li>
|
<li>[Fix] Use correct limit config parameter in the News feed.</li>
|
||||||
<li>[Fix] Restrict search for styles/../style.cfg to folders. (Bug #55665)</li>
|
<li>[Fix] Restrict search for styles/../style.cfg to folders. (Bug #55665)</li>
|
||||||
<li>[Fix] Add ability to disable overall (aka board-wide) feed.</li>
|
<li>[Fix] Add ability to disable overall (aka board-wide) feed.</li>
|
||||||
|
<li>[Fix] Do not pass new_link parameter when creating a persistent connection with the mysql. (Bug #55785)</li>
|
||||||
<li>[Change] Move redirect into a hidden field to avoid issues with mod_security. (Bug #54145)</li>
|
<li>[Change] Move redirect into a hidden field to avoid issues with mod_security. (Bug #54145)</li>
|
||||||
<li>[Change] Log activation through inactive users ACP. (Bug #30145)</li>
|
<li>[Change] Log activation through inactive users ACP. (Bug #30145)</li>
|
||||||
<li>[Change] Send time of last item instead of current time in ATOM Feeds. (Bug #53305)</li>
|
<li>[Change] Send time of last item instead of current time in ATOM Feeds. (Bug #53305)</li>
|
||||||
|
|
|
@ -44,7 +44,7 @@ class dbal_mysql extends dbal
|
||||||
|
|
||||||
$this->sql_layer = 'mysql4';
|
$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 != '')
|
if ($this->db_connect_id && $this->dbname != '')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue