mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
perfschema mdl related instrumentation changes
This commit is contained in:
@ -333,8 +333,8 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, SQL_HANDLER *reopen)
|
||||
right from the start as open_tables() can't handle properly
|
||||
back-off for such locks.
|
||||
*/
|
||||
tables->mdl_request.init(MDL_key::TABLE, tables->db.str, tables->table_name.str,
|
||||
MDL_SHARED_READ, MDL_TRANSACTION);
|
||||
MDL_REQUEST_INIT(&tables->mdl_request, MDL_key::TABLE, tables->db.str,
|
||||
tables->table_name.str, MDL_SHARED_READ, MDL_TRANSACTION);
|
||||
mdl_savepoint= thd->mdl_context.mdl_savepoint();
|
||||
|
||||
/* for now HANDLER can be used only for real TABLES */
|
||||
|
Reference in New Issue
Block a user