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:
parent
1a02d775d6
commit
2db7aeb49f
@ -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
|
||||
|
||||
|
@ -431,7 +431,7 @@ public:
|
||||
|
||||
private:
|
||||
MemoryPool& pool;
|
||||
Database* dbb;
|
||||
Database* const dbb;
|
||||
Firebird::SortedArray<Sort*> sorts;
|
||||
Firebird::HalfStaticArray<UCHAR*, 4> buffers;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user