From: php at rebel dot com dot au Operating system: all PHP version: 4.4.4 PHP Bug Type: Feature/Change Request Bug description: release persistant mysql connection back to pool
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 bug report at http://bugs.php.net/?id=40040&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40040&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40040&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40040&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40040&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40040&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40040&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40040&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40040&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40040&r=support Expected behavior: http://bugs.php.net/fix.php?id=40040&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40040&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40040&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40040&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40040&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40040&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40040&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40040&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40040&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40040&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40040&r=mysqlcfg