mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
perfschema mdl related instrumentation changes
This commit is contained in:
@ -8221,9 +8221,8 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
|
||||
// Pure table aliases do not need to be locked:
|
||||
if (ptr->db.str && !(table_options & TL_OPTION_ALIAS))
|
||||
{
|
||||
ptr->mdl_request.init(MDL_key::TABLE, ptr->db.str, ptr->table_name.str,
|
||||
mdl_type,
|
||||
MDL_TRANSACTION);
|
||||
MDL_REQUEST_INIT(&ptr->mdl_request, MDL_key::TABLE, ptr->db.str,
|
||||
ptr->table_name.str, mdl_type, MDL_TRANSACTION);
|
||||
}
|
||||
DBUG_RETURN(ptr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user