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

Backported Claudio's fix for corrupted dbs. It also fixes CORE-1205 (on the server side).

This commit is contained in:
dimitr 2007-04-13 12:21:22 +00:00
parent 52f4db3f31
commit ebc617c97c

View File

@ -1169,7 +1169,9 @@ bool EVL_field(jrd_rel* relation, Record* record, USHORT id, dsc* desc)
MET_scan_relation(tdbb, relation);
}
jrd_fld* temp_field = (*relation->rel_fields)[id];
jrd_fld* temp_field = NULL;
if (id < relation->rel_fields->count())
temp_field = (*relation->rel_fields)[id];
if (temp_field)
{