Browse Source

HPCC-15826 Remove invalid dbgassertex in memory manager

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 9 years ago
parent
commit
ce1bb51c23
1 changed files with 2 additions and 1 deletions
  1. 2 1
      roxie/roxiemem/roxiemem.cpp

+ 2 - 1
roxie/roxiemem/roxiemem.cpp

@@ -4887,7 +4887,8 @@ const void * CChunkedHeap::compactRow(const void * ptr, HeapCompactState & state
                 }
                 return ret;
             }
-            dbgassertex((chunkedFinger->numChunks() == maxChunksPerPage()) || (chunkedFinger->numChunks() == 0));
+
+            //heaplet was either empty or full (it may no longer be full if another thread has freed a row)
             finger = getNext(finger);
 
             //Check if we have looped all the way around