Addendum to the fix for bug 43029

This commit is contained in:
Georgi Kodinov 2009-10-08 16:21:07 +03:00
parent 1a48dd4e2b
commit ec42ccfdfb

View File

@ -2433,6 +2433,7 @@ inline void setup_table_map(TABLE *table, TABLE_LIST *table_list, uint tablenr)
table->tablenr= tablenr;
table->map= (table_map) 1 << tablenr;
table->force_index= table_list->force_index;
table->force_index_order= table->force_index_group= 0;
table->covering_keys= table->s->keys_for_keyread;
table->merge_keys.clear_all();
}