Project

General

Profile

Actions

Bug #23346

closed

dbClientCompress crashes with pconnect

Added by Till Kleisli over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-08-04
Due date:
% Done:

0%

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

Description

When I activate dbClientCompress, using pconnect, the DB connection crashes because of this call:

@mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password, false, MYSQL_CLIENT_COMPRESS);

in line 1015 of class.t3lib_db.php

mysql_pconnect [1], unlike mysql_connect [2] doesn't have a parameter for new_link

[1] http://php.net/manual/en/function.mysql-pconnect.php
[2] http://php.net/manual/en/function.mysql-connect.php

(issue imported from #M15343)


Files

0015343.patch (710 Bytes) 0015343.patch Administrator Admin, 2010-08-05 17:44

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 #23066: mysql_pconnect() has too many parametersRejectedSteffen Gebert2010-07-01

Actions
Actions

Also available in: Atom PDF