1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

table.cc, sql_select.cc:

Post-merge fix.
This commit is contained in:
gshchepa/uchum@gleb.loc
2007-07-26 04:41:48 +05:00
parent f129754096
commit dfbfeeceb3
2 changed files with 2 additions and 2 deletions

View File

@ -1351,7 +1351,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
if (ha_option & HA_PRIMARY_KEY_IN_READ_INDEX)
{
field->part_of_key= share->keys_in_use;
if (share->db_type == DB_TYPE_INNODB &&
if (ha_legacy_type(share->db_type()) == DB_TYPE_INNODB &&
field->part_of_sortkey.is_set(key))
field->part_of_sortkey= share->keys_in_use;
}