Another solution for CORE-1550: Unnecessary index scan happens when the same index is mapped to both WHERE and ORDER BY clauses. It's intended to fix the reported issues.
Also resolved CORE-4285: Choose the best matching index for navigation.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58851 65644016-39b1-43b1-bf79-96bc8fe82c15
debuginfo uninstall

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58855 65644016-39b1-43b1-bf79-96bc8fe82c15
Correction for CORE-1550: Unnecessary index scan happens when the same index is mapped to both WHERE and ORDER BY clauses.
Also resolved CORE-1846: Allow index walk (ORDER plan) when there's a composite index {A, B} and the query looks like WHERE A = ? ORDER BY B.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58856 65644016-39b1-43b1-bf79-96bc8fe82c15