1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

table.cc, sql_select.cc:

Post-merge fix.
This commit is contained in:
gshchepa/uchum@gleb.loc
2007-07-26 04:41:48 +05:00
parent f129754096
commit dfbfeeceb3
2 changed files with 2 additions and 2 deletions

View File

@ -12313,7 +12313,7 @@ static int test_if_order_by_key(ORDER *order, TABLE *table, uint idx,
*/
if (!on_primary_key &&
(table->file->ha_table_flags() & HA_PRIMARY_KEY_IN_READ_INDEX) &&
table->s->db_type()->db_type == DB_TYPE_INNODB &&
ha_legacy_type(table->s->db_type()) == DB_TYPE_INNODB &&
table->s->primary_key != MAX_KEY)
{
on_primary_key= TRUE;