summaryrefslogtreecommitdiff
path: root/sql/sql_partition_admin.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-08-21 18:11:46 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-11 18:53:06 +0200
commit7f5e51b940d65cf541403a50af74163b9aed5cb8 (patch)
treee540d3cd4d678cd276a9d496490ac5e527f30a78 /sql/sql_partition_admin.cc
parent57dd1f6f3fcbc7a46e1b3e71257987315f7aa687 (diff)
downloadmariadb-git-7f5e51b940d65cf541403a50af74163b9aed5cb8.tar.gz
MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes)
remove: * NDB from everywhere * IM from mtr-v1 * packaging/rpm-oel and packaging/rpm-uln * few unused spec files * plug.in file * .bzrignore
Diffstat (limited to 'sql/sql_partition_admin.cc')
-rw-r--r--sql/sql_partition_admin.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/sql/sql_partition_admin.cc b/sql/sql_partition_admin.cc
index 9db8b1c136a..8755ec47c54 100644
--- a/sql/sql_partition_admin.cc
+++ b/sql/sql_partition_admin.cc
@@ -129,7 +129,7 @@ static bool check_exchange_partition(TABLE *table, TABLE *part_table)
{
/*
Only allowed on partitioned tables throught the generic ha_partition
- handler, i.e not yet for native partitioning (NDB).
+ handler, i.e not yet for native partitioning.
*/
my_error(ER_PARTITION_MGMT_ON_NONPARTITIONED, MYF(0));
DBUG_RETURN(TRUE);
@@ -784,11 +784,6 @@ bool Sql_cmd_alter_table_truncate_partition::execute(THD *thd)
if (open_tables(thd, &first_table, &table_counter, 0))
DBUG_RETURN(true);
- /*
- TODO: Add support for TRUNCATE PARTITION for NDB and other
- engines supporting native partitioning.
- */
-
if (!first_table->table || first_table->view ||
first_table->table->s->db_type() != partition_hton)
{