mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:43:04 +01:00
Fixed CORE-3046: Assertion after ALTER TABLE
This commit is contained in:
parent
0d71f0d52d
commit
8d2b140459
@ -885,8 +885,10 @@ dsc* EVL_expr(thread_db* tdbb, jrd_nod* const node)
|
|||||||
const Format* compileFormat = (Format*) node->nod_arg[e_fld_format];
|
const Format* compileFormat = (Format*) node->nod_arg[e_fld_format];
|
||||||
|
|
||||||
// ASF: CORE-1432 - If the the record is not on the latest format, upgrade it.
|
// ASF: CORE-1432 - If the the record is not on the latest format, upgrade it.
|
||||||
|
// AP: for fields that are missing in original format use record's one.
|
||||||
if (compileFormat &&
|
if (compileFormat &&
|
||||||
record->rec_format->fmt_version != compileFormat->fmt_version &&
|
record->rec_format->fmt_version != compileFormat->fmt_version &&
|
||||||
|
id < compileFormat->fmt_desc.getCount() &&
|
||||||
!DSC_EQUIV(&impure->vlu_desc, &compileFormat->fmt_desc[id], true))
|
!DSC_EQUIV(&impure->vlu_desc, &compileFormat->fmt_desc[id], true))
|
||||||
{
|
{
|
||||||
dsc desc = impure->vlu_desc;
|
dsc desc = impure->vlu_desc;
|
||||||
|
Loading…
Reference in New Issue
Block a user