You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Forgot something in the bytestreampool code.
This commit is contained in:
@ -71,7 +71,10 @@ void ByteStreamPool::returnByteStream(ByteStream *bs)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock s(mutex);
|
boost::mutex::scoped_lock s(mutex);
|
||||||
freeByteStreams.push_back(bs);
|
if (freeByteStream.size() > maxFreeBuffers)
|
||||||
|
delete bs;
|
||||||
|
else
|
||||||
|
freeByteStreams.push_back(bs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user