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.
This commit is contained in:
Dmitry Lenev 2010-05-30 11:43:19 +04:00
parent a81da06f57
commit 7e63d16436

View File

@ -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 */