8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21:23:03 +01:00

This should fix #7048: Release of user savepoint releases too much

This commit is contained in:
Dmitry Yemanov 2021-11-27 10:28:26 +03:00
parent 1d1e433b58
commit 27cd9be96e

View File

@ -1077,7 +1077,7 @@ static void execute_looper(thread_db* tdbb,
{
if (transaction->tra_save_point &&
transaction->tra_save_point->isSystem() &&
transaction->tra_save_point->getNumber() == savNumber)
transaction->tra_save_point->getNumber() >= savNumber)
{
const auto savepoint = transaction->tra_save_point;
// Forget about any undo for this verb