From 7e63d164362b968ae86f42dccf47f455327f6e01 Mon Sep 17 00:00:00 2001 From: Dmitry Lenev Date: Sun, 30 May 2010 11:43:19 +0400 Subject: [PATCH] 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. --- sql/ha_ndbcluster.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 2af2b064020..a327aa51b53 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -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 */