mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
SHOW TABLE STATUS displayed wrong Row_format for myisampack'ed tables. (Bug #427)
This commit is contained in:
parent
8a28428c0a
commit
413bb98b5c
1 changed files with 4 additions and 3 deletions
|
@ -324,10 +324,11 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
|
|||
file->info(HA_STATUS_VARIABLE | HA_STATUS_TIME | HA_STATUS_NO_LOCK);
|
||||
net_store_data(packet, file->table_type());
|
||||
net_store_data(packet,
|
||||
(table->db_options_in_use & HA_OPTION_PACK_RECORD) ?
|
||||
"Dynamic" :
|
||||
(table->db_options_in_use & HA_OPTION_COMPRESS_RECORD)
|
||||
? "Compressed" : "Fixed");
|
||||
? "Compressed" :
|
||||
(table->db_options_in_use & HA_OPTION_PACK_RECORD) ?
|
||||
"Dynamic" : "Fixed");
|
||||
|
||||
net_store_data(packet, (longlong) file->records);
|
||||
net_store_data(packet, (uint32) file->mean_rec_length);
|
||||
net_store_data(packet, (longlong) file->data_file_length);
|
||||
|
|
Loading…
Reference in a new issue