Commit 57e87c75 authored by reggie@linux.site's avatar reggie@linux.site

use show_table instead of share

parent dfb37cb3
...@@ -2722,9 +2722,9 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables, ...@@ -2722,9 +2722,9 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables,
ha_row_type[(uint) share->row_type], ha_row_type[(uint) share->row_type],
NullS); NullS);
#ifdef WITH_PARTITION_STORAGE_ENGINE #ifdef WITH_PARTITION_STORAGE_ENGINE
if (share->db_type == &partition_hton && if (show_table->s->db_type == &partition_hton &&
share->partition_info != NULL && show_table->part_info != NULL &&
((partition_info*)share->partition_info)->no_parts > 0) show_table->part_info->no_parts > 0)
ptr= strmov(ptr, " partitioned"); ptr= strmov(ptr, " partitioned");
#endif #endif
table->field[19]->store(option_buff+1, table->field[19]->store(option_buff+1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment