mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
Fixed bug in fuzzer & 1 + 1 -> 2 in Codec
This commit is contained in:
parent
a14d7314ec
commit
ac63a9be7a
@ -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
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace DB
|
||||
{
|
||||
CompressionCodecPtr getCompressionCodecGCD(Int8 gcd_bytes_size);
|
||||
CompressionCodecPtr getCompressionCodecGCD(UInt8 gcd_bytes_size);
|
||||
}
|
||||
|
||||
struct AuxiliaryRandomData
|
||||
|
@ -13,7 +13,6 @@
|
||||
<value>Delta</value>
|
||||
<value>T64</value>
|
||||
<value>DoubleDelta</value>
|
||||
<value>GCD</value>
|
||||
</values>
|
||||
</substitution>
|
||||
<substitution>
|
||||
|
@ -13,7 +13,6 @@
|
||||
<value>Delta</value>
|
||||
<value>T64</value>
|
||||
<value>DoubleDelta</value>
|
||||
<value>GCD</value>
|
||||
</values>
|
||||
</substitution>
|
||||
<substitution>
|
||||
|
Loading…
Reference in New Issue
Block a user