Subject Re: [firebird-support] 2.1.2 uses a less optimised execution path
Author Dmitry Yemanov
Huan Ruan wrote:
>
> For example, with a where clause like (FieldA = 'A' and FieldB = 'B'), if
> FieldA has an index, FieldB has no index, and the optimiser decides to use
> the index on FieldA, then it will always evaluate FeildA before FieldB. If
> there are no indexes on either field, then it could evaluate FieldA first or
> FieldB first depending on the compiler.

Correct.


Dmitry