[TYPO3-core] RFC #11770: Feature: mysql_ping wrapper

Dan Osipov dosipov at phillyburbs.com
Mon Aug 24 17:56:33 CEST 2009


Attached is the updated patch that includes the DBAL implementation. 
Since nothing equivalent to mysql_ping exists in adodb, the function 
will return true for all other handlers.

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Dan Osipov wrote:
> This is an SVN patch request.
> 
> Type: Feature
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11770
> 
> Branch: Trunk
> 
> Problem:
> Sometimes, after long DB operations, DB connection could be dropped. It 
> would be nice to have a function in t3lib_db, that would check if the 
> connection is still alive (by using mysql_ping), and if not, give an 
> option to reconnect.
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11770_v2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090824/edd857ec/attachment.txt 


More information about the TYPO3-team-core mailing list