Subject | Re: [firebird-support] 2.1.2 uses a less optimised execution path |
---|---|
Author | Huan Ruan |
Post date | 2009-05-18T21:17:45Z |
Thanks again, Dmitry.
Huan
2009/5/18 Dmitry Yemanov <dimitr@...>
Huan
2009/5/18 Dmitry Yemanov <dimitr@...>
>[Non-text portions of this message have been removed]
>
> 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
>
>
>