#40040 [Opn->Bgs]: release persistant mysql connection back to pool

From: Date: Sat, 06 Jan 2007 16:05:33 +0000
Subject: #40040 [Opn->Bgs]: release persistant mysql connection back to pool
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107238@lists.php.net to get a copy of this message
 ID:               40040
 Updated by:       johannes@php.net
 Reported By:      php at rebel dot com dot au
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: all
 PHP Version:      4.4.4
 New Comment:

There is no global resource pool, the persistent resources can only be
reused by the same child.


Previous Comments:
------------------------------------------------------------------------

[2007-01-06 04:00:34] php at rebel dot com dot au

Description:
------------
It would be nice if a function could be added to the sql functions
allowing a persistant connection to be returned to the connection pool,
for reuse by other scripts. 

This would be most useful in a very busy server where milliseconds
count.

eg:
<?
$connection = mysql_pconnect(...);

do mysql stuff

mysql_prelease($connection);

do other perhaps time consuming stuff

?>


Reproduce code:
---------------
not reproduceable - feature request



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40040&edit=1


Thread (3 messages)

« previous php.bugs (#107238) next »