summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorDmitry Lenev <dlenev@mysql.com>2010-05-30 11:43:19 +0400
committerDmitry Lenev <dlenev@mysql.com>2010-05-30 11:43:19 +0400
commit7e63d164362b968ae86f42dccf47f455327f6e01 (patch)
treeb5a3103dc69c427533ebba6fc4acd130757f98b0 /sql/ha_ndbcluster.cc
parenta81da06f5764c97d9cd20c0c4091b58bc5cd8e95 (diff)
downloadmariadb-git-7e63d164362b968ae86f42dccf47f455327f6e01.tar.gz
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.
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 1 insertions, 1 deletions
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 */