mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:40:38 +01:00
This should fix CORE-5016: Server crashes during GC when DELETE is executed after adding new referencing column.
This commit is contained in:
parent
5e0ba8c4a2
commit
52bb948978
@ -337,10 +337,12 @@ bool EVL_field(jrd_rel* relation, Record* record, USHORT id, dsc* desc)
|
||||
{
|
||||
thread_db* tdbb = JRD_get_thread_data();
|
||||
|
||||
const Format* const currentFormat = MET_current(tdbb, relation);
|
||||
|
||||
while (id >= format->fmt_defaults.getCount() ||
|
||||
format->fmt_defaults[id].vlu_desc.isUnknown())
|
||||
{
|
||||
if (format->fmt_version >= relation->rel_current_format->fmt_version)
|
||||
if (format->fmt_version >= currentFormat->fmt_version)
|
||||
{
|
||||
format = NULL;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user