Project

General

Profile

Actions

Bug #23066

closed

mysql_pconnect() has too many parameters

Added by Christian Baer almost 14 years ago. Updated almost 13 years ago.

Status:
Rejected
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-07-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

/t3lib/class.t3lib_db.php
Line 1015

$this->link = @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password, false, MYSQL_CLIENT_COMPRESS);

has to be

$this->link = @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password, MYSQL_CLIENT_COMPRESS);

This bug slows down the FE when the webserver and the database-server are not on the same machine.
(issue imported from #M14959)


Files

14959.t3lib_db.patch (710 Bytes) 14959.t3lib_db.patch Administrator Admin, 2010-07-01 15:29

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #17957: Improve database performance for external database hostClosedDmitry Dulepov2007-12-29

Actions
Related to TYPO3 Core - Bug #23346: dbClientCompress crashes with pconnectClosedOliver Hader2010-08-04

Actions
Actions

Also available in: Atom PDF