Actions
Bug #23346
closeddbClientCompress crashes with pconnect
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
Updated by Oliver Hader over 14 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!
Updated by Oliver Hader over 14 years ago
Committed to SVN:
- TYPO3_4-3 (rev. 8482)
- TYPO3_4-4 (rev. 8483)
- Trunk (rev. 8484)
Actions