http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692010-07-01T15:14:50ZTYPO3 ForgeTYPO3 Core - Bug #23066: mysql_pconnect() has too many parametershttp://forge.typo3.org/issues/23066?journal_id=572392010-07-01T15:14:50ZChris topher
<ul></ul><p>Yes, according to the PHP docs there only are four parameters.</p>
<p>Seeing that I don't really understand the comment in the code saying:<br /><pre>// We use PHP's default value for 4th parameter (new_link), which is false.
// See PHP sources, for example: file php-5.2.5/ext/mysql/php_mysql.c, function php_mysql_do_connect(), near line 525</pre></p>
<p>Dmitry has put that in. In the discussion in Core List (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Improve database performance for external database host (Closed)" href="http://forge.typo3.org/issues/17957">#17957</a>) noone wrote anything about it. <br />Would be great if Dmitry could explain this...</p> TYPO3 Core - Bug #23066: mysql_pconnect() has too many parametershttp://forge.typo3.org/issues/23066?journal_id=572402010-07-01T15:22:08ZChris topher
<ul></ul><p>However, please make a patch file out of your change and send it to Core List!<br />See here <a class="external" href="http://typo3.org/teams/core/core-mailinglist-rules/">http://typo3.org/teams/core/core-mailinglist-rules/</a></p>
<p>And could you check the other occurences of mysql_pconnect, too?</p> TYPO3 Core - Bug #23066: mysql_pconnect() has too many parametershttp://forge.typo3.org/issues/23066?journal_id=808122011-07-25T08:26:25ZStefan Neufeindtypo3.neufeind@speedpartner.de
<ul></ul><p>Checked 4.3 to 4.6 and it's already patched in all of them. No other occurences of mysql_pconnect with this error.</p>
<p>Fixed by:<br />commit 1c1cb9ae4f18a80d64a15d4dad16871bb263f6e5<br />Author: Oliver Hader <<a class="email" href="mailto:oliver.hader@typo3.org">oliver.hader@typo3.org</a>><br />Date: Thu Aug 5 15:55:30 2010 +0000</p>
<pre><code>Fixed bug #15343: dbClientCompress crashes with pconnect</code></pre>
<pre><code>git-svn-id: <a class="external" href="https://svn.typo3.org/TYPO3v4/Core/trunk@8484">https://svn.typo3.org/TYPO3v4/Core/trunk@8484</a> 709f56b5-9817-0410-a4d7-c38de5d9e867</code></pre> TYPO3 Core - Bug #23066: mysql_pconnect() has too many parametershttp://forge.typo3.org/issues/23066?journal_id=808132011-07-25T08:28:42ZStefan Neufeindtypo3.neufeind@speedpartner.de
<ul></ul><p>hmm <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Insert Image in Text (w/o picture) fails (Closed)" href="http://forge.typo3.org/issues/15343">#15343</a> refers to bugs.typo3.org. The forge-issue for that is <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: dbClientCompress crashes with pconnect (Closed)" href="http://forge.typo3.org/issues/23346">#23346</a></p> TYPO3 Core - Bug #23066: mysql_pconnect() has too many parametershttp://forge.typo3.org/issues/23066?journal_id=808312011-07-25T10:42:49ZSteffen Gebertsteffen.gebert@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Rejected</i></li><li><strong>Assignee</strong> set to <i>Steffen Gebert</i></li><li><strong>Target version</strong> deleted (<del><i>0</i></del>)</li></ul><p><code>mysql_pconnect</code> doesn't have a <code>new_link</code> parameter, as stated in the PHP documentation. The source code of the mysql extension also says <em>/* mysql_pconnect does not support new_link parameter */</em>.</p>
<p>And that's how it is in the code since <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: dbClientCompress crashes with pconnect (Closed)" href="http://forge.typo3.org/issues/23346">#23346</a>.</p>