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:
parent
98057962e4
commit
6a3b6b8fc1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user