Commit 7e63d164 authored by Dmitry Lenev's avatar Dmitry Lenev

Fixed typo which was introduced by pre-requisite patch for

bug #51263 "Deadlock between transactional SELECT and ALTER
TABLE ... REBUILD PARTITION" and has been causing compilation
error when server was built with NDB support.
parent a81da06f
......@@ -7411,7 +7411,7 @@ int ndbcluster_find_files(handlerton *hton, THD *thd,
table_list.init_one_table(db, strlen(db), file_name_str,
strlen(file_name_str), file_name_str,
TL_WRITE);
table_list.mdl_request.set_tpye(MDL_EXCLUSIVE);
table_list.mdl_request.set_type(MDL_EXCLUSIVE);
(void)mysql_rm_table_part2(thd, &table_list,
FALSE, /* if_exists */
FALSE, /* drop_temporary */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment