From b2a6cadd84ead61200f1bb5cd03e33526b841edc Mon Sep 17 00:00:00 2001 From: dimitr Date: Tue, 18 Dec 2012 13:30:16 +0000 Subject: [PATCH] Attempted to fix the user savepoint logic I've accidentally broken in a recent commit. --- src/jrd/exe.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jrd/exe.cpp b/src/jrd/exe.cpp index 23902b1447..e46491cc27 100644 --- a/src/jrd/exe.cpp +++ b/src/jrd/exe.cpp @@ -1400,6 +1400,7 @@ static void execute_looper(thread_db* tdbb, { if (transaction && (transaction != dbb->dbb_sys_trans) && transaction->tra_save_point && + !(transaction->tra_save_point->sav_flags & SAV_user) && !transaction->tra_save_point->sav_verb_count) { // Forget about any undo for this verb