| Bug #427 | SHOW TABLE STATUS displays wrong Row_format for myisampack'ed tables | ||
|---|---|---|---|
| Submitted: | 13 May 2003 17:46 | Modified: | 14 May 2003 1:29 |
| Reporter: | Alexander Keremidarski | ||
| Status: | Closed | ||
| Category: | Server | Severity: | S3 (Non-critical) |
| Version: | 3.23 | OS: | Any (All) |
| Assigned to: | Miguel Solorzano | Target Version: | |
[13 May 2003 17:46]
Alexander Keremidarski
[13 May 2003 21:49]
Miguel Solorzano
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/
[13 May 2003 21:54]
Miguel Solorzano
Sorry for first comment I did a mistake closing the bug. Below the suggestion
fix:
*** d:\mysql-dev\mysql\sql\sql_show.cc Tue Mar 11 22:39:48 2003
--- d:\3.23.56\sql\sql_show.cpp Tue May 13 23:39:58 2003
***************
*** 324,333 ****
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");
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);
--- 324,333 ----
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_COMPRESS_RECORD) ?
+ "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);
[14 May 2003 1:29]
Michael Widenius
Thank you for your bug report. This issue has been fixed in the latest
development tree for that product. You can find more information about
accessing our development trees at
http://www.mysql.com/doc/en/Installing_source_tree.html
Will be fixed in 3.23.57, 4.0.14 and 4.1.1
