summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-09-16 15:55:19 +0300
committermonty@mashka.mysql.fi <>2002-09-16 15:55:19 +0300
commitc85c33a5c1f56263053f5f372d4526cf9962cf94 (patch)
treeaf207b8432596b36633c5f65e7f268ea2b076d6f /sql/sql_show.cc
parent3a03bb1d23a093747255b92928232f6a4e9c54b9 (diff)
downloadmariadb-git-c85c33a5c1f56263053f5f372d4526cf9962cf94.tar.gz
Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
Fixed bug in SELECT ... ORDER BY ... LIMIT Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names Fixed hang when using --with-openssl
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index bf9abaaa32d..7f6905279d0 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -322,10 +322,10 @@ 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, convert, file->table_type());
net_store_data(packet, convert,
+ (table->db_options_in_use & HA_OPTION_COMPRESS_RECORD) ?
+ "Compressed" :
(table->db_options_in_use & HA_OPTION_PACK_RECORD) ?
- "Dynamic" :
- (table->db_options_in_use & HA_OPTION_COMPRESS_RECORD)
- ? "Compressed" : "Fixed");
+ "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);