summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-02-14 16:28:05 +0100
committerSergei Golubchik <serg@mariadb.org>2020-03-10 19:24:22 +0100
commit05779bc6f1a585156c572fbcd89c78b3b1f51f5d (patch)
tree9ac80b8694aa9f21633f705cee7f08f7145c1e5d /sql/sp_head.cc
parent22b6d8487aa08123c30092c1f1df48e31c79eff3 (diff)
downloadmariadb-git-05779bc6f1a585156c572fbcd89c78b3b1f51f5d.tar.gz
perfschema mdl related instrumentation changes
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index da02b0e680a..fb99ad11552 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -4977,8 +4977,8 @@ sp_add_to_query_tables(THD *thd, LEX *lex,
table->lock_type= locktype;
table->select_lex= lex->current_select;
table->cacheable_table= 1;
- table->mdl_request.init(MDL_key::TABLE, table->db.str, table->table_name.str,
- mdl_type, MDL_TRANSACTION);
+ MDL_REQUEST_INIT(&table->mdl_request, MDL_key::TABLE, table->db.str,
+ table->table_name.str, mdl_type, MDL_TRANSACTION);
lex->add_to_query_tables(table);
return table;