summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2004-12-07 10:27:22 +0100
committerunknown <mskold@mysql.com>2004-12-07 10:27:22 +0100
commita700754e7108aa51631949f236e4cd965f7fda42 (patch)
tree6fd75132a919397db6e4a3d65ebad65672205276 /sql/ha_ndbcluster.cc
parente2d4dc23c4381b0dbb11ba3763482447c372e0f4 (diff)
downloadmariadb-git-a700754e7108aa51631949f236e4cd965f7fda42.tar.gz
Removed getTableForAlteration
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 7054619fdab..775ab96d1a1 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -3670,7 +3670,7 @@ int ha_ndbcluster::alter_table_name(const char *to)
int ret;
DBUG_ENTER("alter_table_name_table");
- NdbDictionary::Table new_tab= dict->getTableForAlteration(*orig_tab);
+ NdbDictionary::Table new_tab= *orig_tab;
new_tab.setName(to);
if (dict->alterTable(new_tab) != 0)
ERR_RETURN(dict->getNdbError());