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

Follow @dyemanov suggestions.

This commit is contained in:
Vlad Khorsun 2023-07-11 00:06:17 +03:00
parent 1a02d775d6
commit 2db7aeb49f
2 changed files with 2 additions and 2 deletions

View File

@ -2195,7 +2195,7 @@ void SortOwner::unlinkAll()
if (buffers.hasData())
{
// Here we cache blocks to be reused later
// Move cached buffers to the database level cache to be reused later by other attachments
const size_t MAX_CACHED_SORT_BUFFERS = 8; // 1MB

View File

@ -431,7 +431,7 @@ public:
private:
MemoryPool& pool;
Database* dbb;
Database* const dbb;
Firebird::SortedArray<Sort*> sorts;
Firebird::HalfStaticArray<UCHAR*, 4> buffers;
};