detecting locked tables mysql (locked by LOCK TABLE)
|
You can't for non-named locks! More info: http://forums.mysql.com/read.php?21,222363,223774#msg-223774
|
||||
You can use |
|||
Use You can do something like this
to check any locked tables in a database. |
|||||
|
You can create your own lock with GET_LOCK(lockName,timeOut) If you do a However this won't work if you don't have all threads calling Hope that helps! |
|||||||||
|
This article describes how to get information about locked MySQL resources. |
|||||||||
|