## Function Information **Function Name**: `GET_LOCK` **Category**: miscellaneous ## MySQL Function Description MySQL GET_LOCK function: GET_LOCK(str, timeout) - Tries to obtain a lock with a name given by the string str, using a timeout of timeout seconds. ## Expected Behavior Expected behavior: According to MySQL documentation, the function should return correct results. ## Current Behavior in MatrixOne This function is not implemented in MatrixOne. **Error Message**: `(20105, "not supported: function or operator 'get_lock'")` ## Test Case ```sql SELECT GET_LOCK('lock1', 10) AS result1 ``` ## MySQL Documentation - [MySQL Official Documentation](https://dev.mysql.com/doc/refman/8.4/en/locking-functions.html#function_get-lock) ## Request Please implement the `GET_LOCK` function to improve MySQL compatibility.
Activity
fengttt commentedon Nov 21, 2025
Won't fix. Not meaningful in matrixone.