diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-02-14 16:28:05 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-03-10 19:24:22 +0100 |
commit | 05779bc6f1a585156c572fbcd89c78b3b1f51f5d (patch) | |
tree | 9ac80b8694aa9f21633f705cee7f08f7145c1e5d /sql/sql_handler.cc | |
parent | 22b6d8487aa08123c30092c1f1df48e31c79eff3 (diff) | |
download | mariadb-git-05779bc6f1a585156c572fbcd89c78b3b1f51f5d.tar.gz |
perfschema mdl related instrumentation changes
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index 6292631ea7d..1427d3a17b6 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -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 */ |