From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.2.3 PHP Bug Type: Feature/Change Request Bug description: force close persistent SQL connections
>From time to time I need close my SQL connections becose using Lock, temporary tables, etc. But such code executed rare. Can you add new function? like: bool mysql_pclose ([bool on_script_exit_or_now=FALSE,[resource link_identifier]]) This function will allow easy using locks and temporary tables and do not loose efficiency. using this function can be such: ------ mysql_pconnent(...); ... if(rare_case) { mysql_pclose(TRUE); # close connect at exit mysql_query("create temporary table ...."); ... } ----- or such: ------ mysql_pconnent(...); ... if(rare_case) { mysql_query("create temporary table ...."); ... mysql_pclose(); # close connect now } ----- -- Edit bug report at http://bugs.php.net/?id=19974&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19974&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19974&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19974&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19974&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19974&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19974&r=support Expected behavior: http://bugs.php.net/fix.php?id=19974&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19974&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19974&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19974&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19974&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19974&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19974&r=isapi