diff options
author | unknown <mskold/marty@mysql.com/linux.site> | 2006-12-19 23:20:43 +0100 |
---|---|---|
committer | unknown <mskold/marty@mysql.com/linux.site> | 2006-12-19 23:20:43 +0100 |
commit | d0d7cc86faa9393b88b11dd47c143012a8288743 (patch) | |
tree | 7cd5e738b8657950fb204afe008cec0c0111c484 /sql/sql_show.cc | |
parent | 1e10672496fbce277cab2f38a98476e6c25ee2f5 (diff) | |
download | mariadb-git-d0d7cc86faa9393b88b11dd47c143012a8288743.tar.gz |
bug#24667 After ALTER TABLE operation ndb_dd table becomes regular ndb: ALTER TABLE must specify STORAGE explicitely to change it, + post review changes
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index af02ccf1348..d7ae859875a 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -1267,7 +1267,7 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet, to the CREATE TABLE statement */ - if ((for_str= file->get_tablespace_name(thd,0))) + if ((for_str= file->get_tablespace_name(thd,0,0))) { packet->append(STRING_WITH_LEN(" /*!50100 TABLESPACE ")); packet->append(for_str, strlen(for_str)); @@ -3974,7 +3974,7 @@ static void store_schema_partitions_record(THD *thd, TABLE *schema_table, strlen(part_elem->tablespace_name), cs); else { - char *ts= showing_table->file->get_tablespace_name(thd,0); + char *ts= showing_table->file->get_tablespace_name(thd,0,0); if(ts) { table->field[24]->store(ts, strlen(ts), cs); |