mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
Don't forget to remove user savepoints in the no-op part of the commit-retaining implementation.
This commit is contained in:
parent
85a71a028e
commit
a0b24cf577
@ -409,6 +409,15 @@ void TRA_commit(thread_db* tdbb, jrd_tra* transaction, const bool retaining_flag
|
||||
|| transaction->tra_deferred_work))
|
||||
{
|
||||
transaction->tra_flags &= ~TRA_prepared;
|
||||
// Get rid of all user savepoints
|
||||
while (transaction->tra_save_point &&
|
||||
transaction->tra_save_point->sav_flags & SAV_user)
|
||||
{
|
||||
Savepoint* const next = transaction->tra_save_point->sav_next;
|
||||
transaction->tra_save_point->sav_next = NULL;
|
||||
VIO_verb_cleanup(tdbb, transaction);
|
||||
transaction->tra_save_point = next;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user