summaryrefslogtreecommitdiff
path: root/sql/mdl.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2015-11-20 10:00:06 +0200
committerMonty <monty@mariadb.org>2015-11-20 10:00:06 +0200
commit1e156e1436f931625b7a5573584a786388979de2 (patch)
tree639e38f63dced79371e7946f46a36d6e1dc25e70 /sql/mdl.cc
parent981b4747538c742932561d278919fc4b57bd37eb (diff)
downloadmariadb-git-1e156e1436f931625b7a5573584a786388979de2.tar.gz
Fixed compile warnings on Solaris
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r--sql/mdl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc
index ec380aa7432..2d61f6a5e2e 100644
--- a/sql/mdl.cc
+++ b/sql/mdl.cc
@@ -2036,7 +2036,7 @@ MDL_context::acquire_lock(MDL_request *mdl_request, double lock_wait_timeout)
find_deadlock();
struct timespec abs_timeout, abs_shortwait;
- set_timespec(abs_timeout, lock_wait_timeout);
+ set_timespec(abs_timeout, (ulonglong) lock_wait_timeout);
set_timespec(abs_shortwait, 1);
wait_status= MDL_wait::EMPTY;