Commit 917b4210 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-26682 fixup: GCC -Wunused-variable

parent 6b2b5108
......@@ -4248,7 +4248,7 @@ void lock_release_on_prepare(trx_t *trx)
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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment