From 22e0a317be63d98df6850c0a15e20c6a3d682b60 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Thu, 25 Mar 2021 10:34:13 +0400 Subject: [PATCH] The ha_partition::table_type() method was just never called before. --- sql/ha_partition.cc | 7 ------- sql/ha_partition.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index ed43a31c660..5acdbe5b7e2 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -457,13 +457,6 @@ void ha_partition::init_handler_variables() } -const char *ha_partition::table_type() const -{ - // we can do this since we only support a single engine type - return m_file[0]->table_type(); -} - - /* Destructor method diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 60a2d7f6762..fcd44beb74e 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -1071,9 +1071,6 @@ public: */ const char *index_type(uint inx) override; - /* The name of the table type that will be used for display purposes */ - const char *table_type() const; - /* The name of the row type used for the underlying tables. */ enum row_type get_row_type() const override;