Доброго времени суток!

Нашел мелкий баг в 2.0.1.12855
doc\sql.extensions\README.order_by_expressions_nulls.txt

Behaviour when nulls_placement is unspecified is NULLS LAST. - Index is never used for ordering if you specify NULLS FIRST
   as a nulls_placement
Начиная с FB 2.0, наоборот же?

Кроме того, в RN 2.0.1 про индекс указано точнее
If you override the default nulls placement, no index can be used for sorting. 
That is, no index will be used for an
ASCENDING sort if NULLS LAST is specified, nor for a DESCENDING sort if NULLS 
FIRST is specified.

То же самое в win-сборках 2.0.2.12897 и 2.1.0.16020.

Да, и в сборках почему-то старые версии Release Notes
(по сравнению с 2.0.1.12855) - например, doc\Firebird_v2.0.1.ReleaseNotes.pdf
относится к Firebird 2.0.1 Release Candidate 1

С уважением, Евгений.

Ответить