mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Print invalid version in exception message
This commit is contained in:
parent
c4cc4cca91
commit
df77c6f120
@ -89,7 +89,7 @@ SerializationDynamic::DynamicSerializationVersion::DynamicSerializationVersion(U
|
||||
void SerializationDynamic::DynamicSerializationVersion::checkVersion(UInt64 version)
|
||||
{
|
||||
if (version != V1 && version != V2)
|
||||
throw Exception(ErrorCodes::INCORRECT_DATA, "Invalid version for Dynamic structure serialization.");
|
||||
throw Exception(ErrorCodes::INCORRECT_DATA, "Invalid version for Dynamic structure serialization: {}", version);
|
||||
}
|
||||
|
||||
void SerializationDynamic::serializeBinaryBulkStatePrefix(
|
||||
|
Loading…
Reference in New Issue
Block a user