diff options
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 2d06f383612..39e3652a1af 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -5975,7 +5975,7 @@ static void store_schema_partitions_record(THD *thd, TABLE *schema_table, strlen(part_elem->tablespace_name), cs); else { - char *ts= showing_table->s->tablespace; + char *ts= showing_table->file->get_tablespace_name(thd,0,0); if(ts) table->field[24]->store(ts, strlen(ts), cs); else |