From 6a3b6b8fc1307f0c02e70b3d150bcf2156f9a8d1 Mon Sep 17 00:00:00 2001 From: Dmitry Yemanov Date: Thu, 21 Oct 2021 15:23:04 +0300 Subject: [PATCH] Correction, thanks to Dimitry Sibiryakov --- src/jrd/replication/Applier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/replication/Applier.cpp b/src/jrd/replication/Applier.cpp index 01bd7d5ad1..25628f6409 100644 --- a/src/jrd/replication/Applier.cpp +++ b/src/jrd/replication/Applier.cpp @@ -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)