mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 11:45:32 +02:00
MDEV-4018 : Feature Request: microseconds in GET_LOCK()
Updated MDL_context's lock methods to accept double precision lock_wait_timeout.
This commit is contained in:
parent
5298e21c32
commit
3e792e6cbc
5 changed files with 75 additions and 8 deletions
|
|
@ -4257,7 +4257,7 @@ longlong Item_func_get_lock::val_int()
|
|||
{
|
||||
DBUG_ASSERT(fixed == 1);
|
||||
String *res= args[0]->val_str(&value);
|
||||
ulonglong timeout= args[1]->val_int();
|
||||
double timeout= args[1]->val_real();
|
||||
THD *thd= current_thd;
|
||||
User_level_lock *ull;
|
||||
DBUG_ENTER("Item_func_get_lock::val_int");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue