Project

General

Profile

Actions

Bug #23346

closed

dbClientCompress crashes with pconnect

Added by Till Kleisli over 13 years ago. Updated over 13 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 #1

Updated by Till Kleisli over 13 years ago

introduced in Ticket 7059

Actions #2

Updated by Oliver Hader over 13 years ago

Thanks for reporting. Can you please provide a patch file that fixes that issue after you already identified the problem with different pconnect/connect parameters. Thanks in advance!

Actions #3

Updated by Oliver Hader over 13 years ago

Committed to SVN:
  • TYPO3_4-3 (rev. 8482)
  • TYPO3_4-4 (rev. 8483)
  • Trunk (rev. 8484)
Actions #4

Updated by Ingo Renner over 13 years ago

released in
4.3.5
4.4.2

Actions

Also available in: Atom PDF