summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorgshchepa/uchum@gleb.loc <>2007-07-26 04:41:48 +0500
committergshchepa/uchum@gleb.loc <>2007-07-26 04:41:48 +0500
commitdfbfeeceb362de8f25ae239de4743b90a06bf36d (patch)
treec3a2ca7f4a12bc797b0b6be3792781b429b77595 /sql/table.cc
parentf129754096ff75d32a7f84872f9d65a819e8445b (diff)
downloadmariadb-git-dfbfeeceb362de8f25ae239de4743b90a06bf36d.tar.gz
table.cc, sql_select.cc:
Post-merge fix.
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index a7ab27f0760..fb88b46972c 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -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;
}