From 31103de33da02da29c76556e0416c7d32591f399 Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Mon, 6 Sep 2021 12:53:51 +0300 Subject: [PATCH] Fixed my old mistake. Thanks to Mike Kaganski for notifying. --- src/jrd/sort.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jrd/sort.cpp b/src/jrd/sort.cpp index e32dfd9b35..f0ac416aba 100644 --- a/src/jrd/sort.cpp +++ b/src/jrd/sort.cpp @@ -1820,7 +1820,7 @@ void Sort::orderAndSave(thread_db* tdbb) * scratch file as one big chunk * **************************************/ - EngineCheckout(tdbb, FB_FUNCTION); + EngineCheckout cout(tdbb, FB_FUNCTION); run_control* run = m_runs; run->run_records = 0; @@ -1916,7 +1916,7 @@ void Sort::sortBuffer(thread_db* tdbb) * been requested, detect and handle them. * **************************************/ - EngineCheckout(tdbb, FB_FUNCTION); + EngineCheckout cout(tdbb, FB_FUNCTION); // First, insert a pointer to the high key