소스 검색

Merge pull request #7123 from jakesmith/hpcc-13247

HPCC-13247 Delete temporary spill file from smart buffer

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 10 년 전
부모
커밋
731796749e
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      thorlcr/thorutil/thbuf.cpp

+ 5 - 0
thorlcr/thorutil/thbuf.cpp

@@ -284,6 +284,11 @@ public:
         while (out->ordinality()) 
             ReleaseThorRow(out->dequeue());
         delete out;
+        if (fileio)
+        {
+            fileio.clear();
+            file->remove();
+        }
     }
 
     void putRow(const void *row)