PHP MYSQL table locking
| From: | james tu | Date: | Thu, 24 Mar 2005 20:11:27 +0000 |
| Subject: | PHP MYSQL table locking | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211517@lists.php.net to get a copy of this message | ||
I understand table locking with MYSQL.
My concern is this. What happens if a php script issues a LOCK, and then somehow crashes without issuing an UNLOCK?
All other scripts will not be able to access the LOCKed tables.
What is the solution for a situation like this? It will be pretty unlikely, but I'm curious if there is anything I can do to mitigate this situation.
--
-James Tu
-----------------------------------
ESI Design
111 Fifth Avenue 12th floor
New York, NY 10003
(212) 989-3993 ext. 357
(212) 673-4061 (fax)
-----------------------------------