I know that passing a negative timeout to GET_LOCK() makes no sense. But if you do it by mistake (perhaps with dynamic sql) there are 2 cases:
- If the number is high, it is like passing 0:
- if number is very low, it considers it as a positive number (you will need to kill the query):
In both cases, I get no errors or warnings.