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_db.cc | |
parent | 22b6d8487aa08123c30092c1f1df48e31c79eff3 (diff) | |
download | mariadb-git-05779bc6f1a585156c572fbcd89c78b3b1f51f5d.tar.gz |
perfschema mdl related instrumentation changes
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index b4d96b83dbe..2698b29d787 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -1148,9 +1148,9 @@ static bool find_db_tables_and_rm_known_files(THD *thd, MY_DIR *dirp, (char*) table_list->table_name.str); table_list->alias= table_list->table_name; // If lower_case_table_names=2 - table_list->mdl_request.init(MDL_key::TABLE, table_list->db.str, - table_list->table_name.str, MDL_EXCLUSIVE, - MDL_TRANSACTION); + MDL_REQUEST_INIT(&table_list->mdl_request, MDL_key::TABLE, + table_list->db.str, table_list->table_name.str, + MDL_EXCLUSIVE, MDL_TRANSACTION); /* Link into list */ (*tot_list_next_local)= table_list; (*tot_list_next_global)= table_list; |