diff options
author | gshchepa/uchum@gleb.loc <> | 2007-07-27 13:38:11 +0500 |
---|---|---|
committer | gshchepa/uchum@gleb.loc <> | 2007-07-27 13:38:11 +0500 |
commit | e6c7e7d63073d359cfedf6ece1ce56e2e71f903a (patch) | |
tree | 6bf1199047cde5a35117eb3dc03eaf6986ee3fe0 /sql/table.cc | |
parent | 1339cdb75ac184aaad5e0cb1b9ed71d0801502cc (diff) | |
parent | 3301955b6eb841802dc17b7492fe7321891bb672 (diff) | |
download | mariadb-git-e6c7e7d63073d359cfedf6ece1ce56e2e71f903a.tar.gz |
Merge gleb.loc:/home/uchum/work/bk/5.0-opt
into gleb.loc:/home/uchum/work/bk/5.1-opt
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 e6f9b1086c7..a445e2d2816 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1351,8 +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 (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; } } |