From 7f5e51b940d65cf541403a50af74163b9aed5cb8 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 21 Aug 2014 18:11:46 +0200 Subject: 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 --- sql/sql_partition_admin.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sql/sql_partition_admin.cc') 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) { -- cgit v1.2.1