diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-03-16 19:24:49 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-03-27 22:51:37 +0100 |
commit | f97d879bf890fe1d93c459f46410e2be8d26d3b6 (patch) | |
tree | 948a0951ebc0b32f9ed4b61aebf7143355a7a815 /storage/innobase/lock | |
parent | 1a4746e1285bbe03d616310cd49c3548825d5a1a (diff) | |
download | mariadb-git-f97d879bf890fe1d93c459f46410e2be8d26d3b6.tar.gz |
cmake: re-enable -Werror in the maintainer mode
now we can afford it. Fix -Werror errors. Note:
* old gcc is bad at detecting uninit variables, disable it.
* time_t is int or long, cast it for printf's
Diffstat (limited to 'storage/innobase/lock')
-rw-r--r-- | storage/innobase/lock/lock0lock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/lock/lock0lock.cc b/storage/innobase/lock/lock0lock.cc index 3970a559a4c..f06fcd6c4d8 100644 --- a/storage/innobase/lock/lock0lock.cc +++ b/storage/innobase/lock/lock0lock.cc @@ -5350,7 +5350,7 @@ lock_table( lock_mutex_enter(); DBUG_EXECUTE_IF("fatal-semaphore-timeout", - { os_thread_sleep(3600000000); }); + { os_thread_sleep(3600000000U); }); /* We have to check if the new lock is compatible with any locks other transactions have in the table lock queue. */ |