Просмотр исходного кода

Merge pull request #7377 from richardkchapman/roxie-xml-crc

HPCC-13469 Roxie sets incorrect file part CRC when outputting XML file.

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 10 лет назад
Родитель
Сommit
6b599d5158
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      roxie/ccd/ccdserver.cpp

+ 1 - 1
roxie/ccd/ccdserver.cpp

@@ -11079,7 +11079,7 @@ public:
             fileProps.setPropInt64("@size", uncompressedBytesWritten);
             partProps.setPropInt64("@size", uncompressedBytesWritten);
         }
-        else if (tallycrc)
+        else if (tallycrc && crc.get())
             partProps.setPropInt64("@fileCrc", crc.get());
 
         if (encrypted)