mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Update for BTREE keys in HEAP tables
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
This commit is contained in:
@ -678,7 +678,7 @@ mysqld_show_keys(THD *thd, TABLE_LIST *table_list)
|
||||
net_store_data(packet,convert,
|
||||
key_part->field ? key_part->field->field_name :
|
||||
"?unknown field?");
|
||||
if (table->file->option_flag() & HA_READ_ORDER)
|
||||
if (table->file->index_flags(i) & HA_READ_ORDER)
|
||||
net_store_data(packet,convert,
|
||||
((key_part->key_part_flag & HA_REVERSE_SORT) ?
|
||||
"D" : "A"), 1);
|
||||
|
Reference in New Issue
Block a user