We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a02d77 commit 2db7aebCopy full SHA for 2db7aeb
src/jrd/sort.cpp
@@ -2195,7 +2195,7 @@ void SortOwner::unlinkAll()
2195
2196
if (buffers.hasData())
2197
{
2198
- // Here we cache blocks to be reused later
+ // Move cached buffers to the database level cache to be reused later by other attachments
2199
2200
const size_t MAX_CACHED_SORT_BUFFERS = 8; // 1MB
2201
src/jrd/sort.h
@@ -431,7 +431,7 @@ class SortOwner
431
432
private:
433
MemoryPool& pool;
434
- Database* dbb;
+ Database* const dbb;
435
Firebird::SortedArray<Sort*> sorts;
436
Firebird::HalfStaticArray<UCHAR*, 4> buffers;
437
};
0 commit comments