diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2014-11-30 01:05:34 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2014-11-30 01:05:34 -0500 |
commit | 3e792e6cbccb5d7bf5b84b38336f8a40ad232020 (patch) | |
tree | cb469f8e4028c03911a60d59f3392e53c86b3a8d /sql/mdl.h | |
parent | 5298e21c32666f558b2ecdfee12df493d87d4e07 (diff) | |
download | mariadb-git-3e792e6cbccb5d7bf5b84b38336f8a40ad232020.tar.gz |
MDEV-4018 : Feature Request: microseconds in GET_LOCK()
Updated MDL_context's lock methods to accept double precision
lock_wait_timeout.
Diffstat (limited to 'sql/mdl.h')
-rw-r--r-- | sql/mdl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/mdl.h b/sql/mdl.h index 27289e621ef..44e692b97a0 100644 --- a/sql/mdl.h +++ b/sql/mdl.h @@ -752,11 +752,11 @@ public: void destroy(); bool try_acquire_lock(MDL_request *mdl_request); - bool acquire_lock(MDL_request *mdl_request, ulong lock_wait_timeout); - bool acquire_locks(MDL_request_list *requests, ulong lock_wait_timeout); + bool acquire_lock(MDL_request *mdl_request, double lock_wait_timeout); + bool acquire_locks(MDL_request_list *requests, double lock_wait_timeout); bool upgrade_shared_lock(MDL_ticket *mdl_ticket, enum_mdl_type new_type, - ulong lock_wait_timeout); + double lock_wait_timeout); bool clone_ticket(MDL_request *mdl_request); |