note 20960 added to function.mysql-pconnect
| From: | david at acz dot org | Date: | Tue, 23 Apr 2002 15:41:35 +0000 |
| Subject: | note 20960 added to function.mysql-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29725@lists.php.net to get a copy of this message | ||
You need to be VERY careful when using LOCK TABLES with persistent connections. If the script
terminates before the UNLOCK TABLES is executed, the the table(s) will stay locked, and very likely
hang future scripts. This is noted in a bug report, but is still not reflected in the
documentation: http://bugs.php.net/bug.php?id=7634
--
http://www.php.net/manual/en/function.mysql-pconnect.php
http://master.php.net/manage/user-notes.php?action=edit+20960
http://master.php.net/manage/user-notes.php?action=delete+20960
http://master.php.net/manage/user-notes.php?action=reject+20960