1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-2276 Fix

This commit is contained in:
Ubuntu
2019-10-31 20:41:44 +00:00
committed by Andrew Hutchings
parent 6571cafb4f
commit 04b7a6af6c

View File

@ -1115,7 +1115,7 @@ int Dctnry::insertDctnry(const int& sgnature_size,
for (i = m_lastFbo; i < m_numBlocks; i++) for (i = m_lastFbo; i < m_numBlocks; i++)
{ {
// @bug 3960: Add MAX_OP_COUNT check to handle case after bulk rollback // @bug 3960: Add MAX_OP_COUNT check to handle case after bulk rollback
if ( ((m_freeSpace >= (size + m_totalHdrBytes)) || if ( ((m_freeSpace >= size) ||
((size > 8176) && (m_freeSpace > m_totalHdrBytes))) && ((size > 8176) && (m_freeSpace > m_totalHdrBytes))) &&
(m_curOp < (MAX_OP_COUNT - 1)) ) (m_curOp < (MAX_OP_COUNT - 1)) )
{ {