From a38750b8b3d37c7fc825e065491ac5275da00d72 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 31 Mar 2006 22:03:13 -0600 Subject: [PATCH] use show_table instead of share --- sql/sql_show.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sql/sql_show.cc b/sql/sql_show.cc index d9148f7e368..c8f4d399037 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -2722,9 +2722,9 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables, ha_row_type[(uint) share->row_type], NullS); #ifdef WITH_PARTITION_STORAGE_ENGINE - if (share->db_type == &partition_hton && - share->partition_info != NULL && - ((partition_info*)share->partition_info)->no_parts > 0) + if (show_table->s->db_type == &partition_hton && + show_table->part_info != NULL && + show_table->part_info->no_parts > 0) ptr= strmov(ptr, " partitioned"); #endif table->field[19]->store(option_buff+1,