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

Fixed my old mistake. Thanks to Mike Kaganski for notifying.

This commit is contained in:
Vlad Khorsun 2021-09-06 12:53:51 +03:00
parent f897c3b28f
commit 31103de33d

View File

@ -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