Browse Source

Merge pull request #8841 from ghalliday/issue15826

HPCC-15826 Remove invalid dbgassertex in memory manager

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 years ago
parent
commit
e6f32e09fa
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