MDEV-9728 - Hard crash in metadata_lock_info
Added missing target_thd initialization when processing local thread.
This commit is contained in:
parent
21479a6bb3
commit
1f761c5615
@ -174,7 +174,10 @@ static int i_s_metadata_lock_info_fill_table(THD *thd, TABLE_LIST *tables,
|
||||
|
||||
delete_dynamic(&ids);
|
||||
if (info.error == 0)
|
||||
{
|
||||
info.target_thd= thd;
|
||||
info.call_in_target_thread();
|
||||
}
|
||||
DBUG_RETURN(info.error);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user