diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-24 12:05:44 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-24 12:05:44 +0200 |
commit | 917b4210124a0241689a699bd532be9ba6628f0f (patch) | |
tree | be4e5c67302f433ce7410ea735312f71f07ab8c1 | |
parent | 6b2b510839f18a8a235d60fd2da850795dfcfe3e (diff) | |
download | mariadb-git-917b4210124a0241689a699bd532be9ba6628f0f.tar.gz |
MDEV-26682 fixup: GCC -Wunused-variable
-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 12764470bef..07fff9b21ad 100644 --- a/storage/innobase/lock/lock0lock.cc +++ b/storage/innobase/lock/lock0lock.cc @@ -4248,7 +4248,7 @@ retain_lock: else { ut_ad(lock_get_type_low(lock) & LOCK_TABLE); - dict_table_t *table= lock->un_member.tab_lock.table; + ut_d(dict_table_t *table= lock->un_member.tab_lock.table); ut_ad(!table->is_temporary()); switch (lock_get_mode(lock)) { |