Fixed bug in fuzzer & 1 + 1 -> 2 in Codec

This commit is contained in:
Александр Нам 2023-08-15 18:00:24 +00:00
parent a14d7314ec
commit ac63a9be7a
4 changed files with 2 additions and 4 deletions

View File

@ -176,7 +176,7 @@ UInt32 CompressionCodecGCD::doCompressData(const char * source, UInt32 source_si
compressDataForType<UInt256>(&source[bytes_to_skip], source_size - bytes_to_skip, &dest[start_pos]);
break;
}
return 1 + 1 + source_size;
return 2 + source_size;
}
void CompressionCodecGCD::doDecompressData(const char * source, UInt32 source_size, char * dest, UInt32 uncompressed_size) const

View File

@ -6,7 +6,7 @@
namespace DB
{
CompressionCodecPtr getCompressionCodecGCD(Int8 gcd_bytes_size);
CompressionCodecPtr getCompressionCodecGCD(UInt8 gcd_bytes_size);
}
struct AuxiliaryRandomData

View File

@ -13,7 +13,6 @@
<value>Delta</value>
<value>T64</value>
<value>DoubleDelta</value>
<value>GCD</value>
</values>
</substitution>
<substitution>

View File

@ -13,7 +13,6 @@
<value>Delta</value>
<value>T64</value>
<value>DoubleDelta</value>
<value>GCD</value>
</values>
</substitution>
<substitution>