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

Fixed bug when huge memory chunk (more than 2GB) is released

This commit is contained in:
hvlad 2010-01-19 12:50:43 +00:00
parent 02d3ada59e
commit abfb67edbb

View File

@ -546,7 +546,7 @@ void MemoryPool::releaseBlock(MemBlock *block) throw ()
#endif
--blocksActive;
int length = block->length;
SINT64 length = block->length;
// If length is negative, this is a small block