diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-01 15:29:34 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-01 15:40:49 +0300 |
commit | 7f99381288a280c27f74edb3d4ed6bbad4f172b9 (patch) | |
tree | cbdeebbabcccd48cb295255e1224acbdda9f203f /plugin/metadata_lock_info | |
parent | 6be93c3b8a1d8c080d73750e3804752ad80f56d1 (diff) | |
download | mariadb-git-7f99381288a280c27f74edb3d4ed6bbad4f172b9.tar.gz |
Fix compiler warnings
metadata_lock_info_duration[]: Remove the unused variable.
Add some comments /* fall through */ to silence -Wimplicit-fallthrough
Diffstat (limited to 'plugin/metadata_lock_info')
-rw-r--r-- | plugin/metadata_lock_info/metadata_lock_info.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugin/metadata_lock_info/metadata_lock_info.cc b/plugin/metadata_lock_info/metadata_lock_info.cc index d434ed9a693..48001a9e527 100644 --- a/plugin/metadata_lock_info/metadata_lock_info.cc +++ b/plugin/metadata_lock_info/metadata_lock_info.cc @@ -44,12 +44,6 @@ static const LEX_STRING metadata_lock_info_lock_mode[] = { { C_STRING_WITH_LEN("MDL_EXCLUSIVE") }, }; -static const LEX_STRING metadata_lock_info_duration[] = { - { C_STRING_WITH_LEN("MDL_STATEMENT") }, - { C_STRING_WITH_LEN("MDL_TRANSACTION") }, - { C_STRING_WITH_LEN("MDL_EXPLICIT") }, -}; - static ST_FIELD_INFO i_s_metadata_lock_info_fields_info[] = { {"THREAD_ID", 20, MYSQL_TYPE_LONGLONG, 0, |