-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 10.1.2
-
Component/s: Locking
-
Labels:None
It would be useful if GET_LOCK() supports timeouts with a precision that is lower than 1 second.
For now, you can pass a FLOAT value as a timeout, but it seems to be rounded:
MariaDB [(none)]> SELECT GET_LOCK('x', 0.5);
|
+--------------------+
|
| GET_LOCK('x', 0.5) |
|
+--------------------+
|
| 0 |
|
+--------------------+
|
1 row in set (1.00 sec)
|
- relates to
-
MDEV-12005 GET_LOCK: Fractional part of timeout is ignored
-
- Closed
-