Commit dccc01a8 authored by Igor Babaev's avatar Igor Babaev

Merge

parents 7d68e1ea 63f78fa8
......@@ -5623,8 +5623,7 @@ ROR_SCAN_INFO *make_ror_scan(const PARAM *param, int idx, SEL_ARG *sel_arg)
bitmap_set_bit(&ror_scan->covered_fields, key_part->fieldnr-1);
}
ror_scan->index_read_cost=
param->table->file->keyread_time(ror_scan->keynr, 1,
param->table->quick_rows[ror_scan->keynr]);
param->table->file->keyread_time(ror_scan->keynr, 1, ror_scan->records);
DBUG_RETURN(ror_scan);
}
......
......@@ -482,8 +482,7 @@ public:
Current implementation doesn't detect all cases where index merge could
be used, in particular:
* index merge+'using index' is not supported (this the consequence of
the above restriction)
* index_merge+'using index' is not supported
* If WHERE part contains complex nested AND and OR conditions, some ways
to retrieve rows using index merge will not be considered. The choice
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment