diff options
author | tsmith@ramayana.hindu.god <> | 2007-08-01 18:40:02 -0600 |
---|---|---|
committer | tsmith@ramayana.hindu.god <> | 2007-08-01 18:40:02 -0600 |
commit | a52a078f75c1ecc2972a589165db320eddeb9981 (patch) | |
tree | 7db31fdc56ff34260977557c78abc33869800671 /sql/table.cc | |
parent | 76366d79317d94716bfe46e845e993fb2c140edc (diff) | |
parent | d4329ea78339bb71cbb3e23ebce4d64db90d7998 (diff) | |
download | mariadb-git-a52a078f75c1ecc2972a589165db320eddeb9981.tar.gz |
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-opt
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/table.cc b/sql/table.cc index f52c81d7889..5e036abe6b1 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1391,8 +1391,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 (ha_legacy_type(share->db_type()) == DB_TYPE_INNODB && - field->part_of_sortkey.is_set(key)) + if (field->part_of_sortkey.is_set(key)) field->part_of_sortkey= share->keys_in_use; } } |