mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 14:03:02 +01:00
Simplest possible fix for CORE-4618: Rollback doesn`t undo changes when MERGE statement updates the same target rows multiple times and PLAN MERGE is used.
This commit is contained in:
parent
13a364ca62
commit
c80929e9ef
@ -2392,7 +2392,7 @@ void VIO_modify(thread_db* tdbb, record_param* org_rpb, record_param* new_rpb,
|
|||||||
// We're about to modify the record. Post a refetch request
|
// We're about to modify the record. Post a refetch request
|
||||||
// to all the active cursors positioned at this record.
|
// to all the active cursors positioned at this record.
|
||||||
|
|
||||||
invalidate_cursor_records(transaction, org_rpb);
|
invalidate_cursor_records(transaction, new_rpb);
|
||||||
|
|
||||||
/* We're almost ready to go. To modify the record, we must first
|
/* We're almost ready to go. To modify the record, we must first
|
||||||
make a copy of the old record someplace else. Then we must re-fetch
|
make a copy of the old record someplace else. Then we must re-fetch
|
||||||
|
Loading…
Reference in New Issue
Block a user