|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-18 08:46 UTC] georg@php.net
[2002-10-21 02:53 UTC] artem at osp dot ru
[2011-01-01 01:08 UTC] jani@php.net
-Package: Feature/Change Request
+Package: MySQL related
[2011-01-06 17:20 UTC] uw@php.net
-Assigned To:
+Assigned To: mysql
[2011-01-06 17:20 UTC] uw@php.net
[2011-01-07 15:36 UTC] andrey@php.net
-Status: Assigned
+Status: Wont fix
[2011-01-07 15:36 UTC] andrey@php.net
[2011-01-07 16:13 UTC] uw@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 05:00:01 2025 UTC |
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 } -----