I am having a problem with the GET_LOCK(str, timeout) function in MySQL..
Whenever I set it from the MySQL command line.. It works perfectly right.. But when I try to set it from the phpMyAdmin or from my (custom-made) PHP application.. It doesn't seem to work..
The strange thing is that it reads the IS_FREE_LOCK(str) correctly.. My only problem is with GET_LOCK and RELEASE_LOCK functions