소스 검색

Merge pull request #6028 from richardkchapman/roxie-logging-core

HPCC-11627 Requesting per-query logging can cause roxie cores

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 11 년 전
부모
커밋
4d2df37c5d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      roxie/ccd/ccd.hpp

+ 1 - 0
roxie/ccd/ccd.hpp

@@ -873,6 +873,7 @@ public:
     virtual void CTXLOGl(LogItem *logItem) const
     {
         // NOTE - we don't actually print anything to logfile here - was already printed on slave
+        CriticalBlock b(crit);
         log.append(*logItem);
         flush(false, false);
     }