summaryrefslogtreecommitdiff
path: root/storage/spider/spd_copy_tables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/spider/spd_copy_tables.cc')
-rw-r--r--storage/spider/spd_copy_tables.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/spd_copy_tables.cc b/storage/spider/spd_copy_tables.cc
index 1a472e2c12b..19023a00da3 100644
--- a/storage/spider/spd_copy_tables.cc
+++ b/storage/spider/spd_copy_tables.cc
@@ -997,7 +997,7 @@ long long spider_copy_tables_body(
#if MYSQL_VERSION_ID < 50500
if (open_and_lock_tables(thd, table_list))
#else
- table_list->mdl_request.init(
+ MDL_REQUEST_INIT(&table_list->mdl_request,
MDL_key::TABLE,
SPIDER_TABLE_LIST_db_str(table_list),
SPIDER_TABLE_LIST_table_name_str(table_list),