Jorgen Loland a écrit, Le 16.02.2011 10:43:
> #At file:///export/home/jl208045/mysql/mysql-trunk-59415/ based on
> revid:jorgen.loland@stripped
>
> 3654 Jorgen Loland 2011-02-16
> BUG#11766327: Range analysis should not be done many times
> for the same index
>
> (Former bug 59415)
>
> The optimizer often choses to access a table through an index
> that does not provide the correct ordering for free. To remedy
> this, the function test_if_skip_sort_order() is called to see
> if another index is as good as the chosen index and at the
> same time is able to provide ordering.
ok to push.