8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 01:23:03 +01:00

One more index to avoid full table scans on system tables (this time during the column modification).

This commit is contained in:
dimitr 2012-01-09 08:56:00 +00:00
parent 19c1733c0e
commit a59d2c5326

View File

@ -314,9 +314,14 @@ static const struct ini_idx_t indices[] =
/* define index RDB$INDEX_47 for RDB$PROCEDURE_PARAMETERS RDB$FIELD_SOURCE; */
INDEX(47, ODS_11_2, rel_prc_prms, 0, 1)
SEGMENT(f_prm_sname, idx_metadata) /* field source name */
}},
/* define index RDB$INDEX_48 for RDB$PROCEDURE_PARAMETERS RDB$RELATION_NAME, RDB$FIELD_NAME; */
INDEX(48, ODS_11_2, rel_prc_prms, 0, 2)
SEGMENT(f_prm_rname, idx_metadata), /* relation name */
SEGMENT(f_prm_fname, idx_metadata) /* field name */
}}
/* Last index in ODS 11.2 is RDB$INDEX_47 */
/* Last index in ODS 11.2 is RDB$INDEX_48 */
};
#define SYSTEM_INDEX_COUNT FB_NELEM(indices)