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:
Nirbhay Choubey 2014-11-30 01:05:34 -05:00
commit 3e792e6cbc
5 changed files with 75 additions and 8 deletions

View file

@ -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");