FirebirdSQL/firebird-documentation

Wrong documentation of RDB$INDICES.RDB$INDEX_TYPE

mrotteveel opened this issue · 4 comments

The fblangref25, fblangref30 and fblangref40 say that RDB$INDICES.RDB$INDEX_TYPE "Distinguishes between an expression index (1) and a regular index (0 or null).", this seems to be not correct. Instead, the value is (0 or null): Ascending, 1: Descending.

Verify to see if maybe expression indexes toggle another bit, and fix this.

There are no additional bits or different values for expression indexes. So, it's 0 (or sometimes NULL) for ascending, and 1 for descending.

Updated fblangref25, fblangref30 and fblangref40. Keeping ticket open to update German version as well (but needs a little more work to catch up with changes of fblangref25).

Also updated German version (with help from Google Translate).

@MartinKoeditz Could you review my recent changes to fblangref25-de, fblangref30-de and fblangref40-de?

Published updated docs