Is there a way to detect locked tables in MySQL? I mean tables locked by the LOCK TABLE table WRITE/READ
command.
(Note that readers interested in detecting named locks acquired with GET_LOCK
should read Show all current locks from get_lock instead.)