diff options
author | unknown <gkodinov/kgeorge@magare.gmz> | 2007-07-23 06:26:57 +0300 |
---|---|---|
committer | unknown <gkodinov/kgeorge@magare.gmz> | 2007-07-23 06:26:57 +0300 |
commit | c38fa3f3acb380c5c18c982b7cdc0370b2328c76 (patch) | |
tree | 7c4ccf62fc818a1f03a1625c6a9b5aa7a3aeafcd /sql/table.cc | |
parent | 240bb90ef1ed1bcde9a3420fe790a17bd4d45ee7 (diff) | |
download | mariadb-git-c38fa3f3acb380c5c18c982b7cdc0370b2328c76.tar.gz |
table.cc, sql_select.cc:
Limit the fix for bug 28591 to InnoDB only
sql/sql_select.cc:
Limit the fix for bug 28591 to InnoDB only
sql/table.cc:
Limit the fix for bug 28591 to InnoDB only
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index b231033d4f2..7b826bcdf2d 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -782,7 +782,8 @@ int openfrm(THD *thd, const char *name, const char *alias, uint db_stat, if (ha_option & HA_PRIMARY_KEY_IN_READ_INDEX) { field->part_of_key= share->keys_in_use; - if (field->part_of_sortkey.is_set(key)) + if (share->db_type == DB_TYPE_INNODB && + field->part_of_sortkey.is_set(key)) field->part_of_sortkey= share->keys_in_use; } } |