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/sql_select.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/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index d82a0fdcf41..2d9d261bb31 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -12033,6 +12033,7 @@ static int test_if_order_by_key(ORDER *order, TABLE *table, uint idx, */ if (!on_primary_key && (table->file->table_flags() & HA_PRIMARY_KEY_IN_READ_INDEX) && + table->s->db_type == DB_TYPE_INNODB && table->s->primary_key != MAX_KEY) { on_primary_key= TRUE; |