If the CRC has not been calculated, it should leave it unset rather than setting 0. Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
@@ -11056,7 +11056,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)