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

Correction, thanks to Dimitry Sibiryakov

This commit is contained in:
Dmitry Yemanov 2021-10-21 15:23:04 +03:00
parent 98057962e4
commit 6a3b6b8fc1

View File

@ -474,7 +474,7 @@ void Applier::cleanupSavepoint(thread_db* tdbb, TraNumber traNum, bool undo)
LocalThreadContext context(tdbb, transaction);
if (!transaction->tra_save_point || transaction->tra_save_point->isSystem())
if (!transaction->tra_save_point || transaction->tra_save_point->isRoot())
raiseError("Transaction %" SQUADFORMAT" has no savepoints to cleanup", traNum);
if (undo)