Skip to content

Commit 811be9a

Browse files
committed
Fixed triggers
1 parent b9de235 commit 811be9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jrd/vio.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3638,12 +3638,12 @@ bool VIO_modify(thread_db* tdbb, record_param* org_rpb, record_param* new_rpb, j
36383638

36393639
case rel_triggers:
36403640
{
3641-
dsc schemaName, rname, tname;
3641+
dsc rname, tname;
36423642

36433643
bool onRelation = EVL_field(0, new_rpb->rpb_record, f_trg_rname, &rname);
36443644
MOV_get_metaname(tdbb, &rname, object_name.object);
36453645
EVL_field(0, new_rpb->rpb_record, f_trg_schema, &schemaDesc);
3646-
MOV_get_metaname(tdbb, &schemaName, object_name.schema);
3646+
MOV_get_metaname(tdbb, &schemaDesc, object_name.schema);
36473647

36483648
if (!check_nullify_source(tdbb, org_rpb, new_rpb, f_trg_source))
36493649
protect_system_table_delupd(tdbb, relation, "UPDATE");

0 commit comments

Comments
 (0)