From 04b7a6af6cd6af524b5b86b179898f10a71c1334 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 31 Oct 2019 20:41:44 +0000 Subject: [PATCH] MCOL-2276 Fix --- writeengine/dictionary/we_dctnry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writeengine/dictionary/we_dctnry.cpp b/writeengine/dictionary/we_dctnry.cpp index 40d48f8f2..3fa5d7f13 100644 --- a/writeengine/dictionary/we_dctnry.cpp +++ b/writeengine/dictionary/we_dctnry.cpp @@ -1115,7 +1115,7 @@ int Dctnry::insertDctnry(const int& sgnature_size, for (i = m_lastFbo; i < m_numBlocks; i++) { // @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))) && (m_curOp < (MAX_OP_COUNT - 1)) ) {