mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
explicitly defined constructors
This commit is contained in:
parent
5b6754a2be
commit
1dc5c4cba3
@ -301,6 +301,10 @@ public:
|
||||
String database;
|
||||
String auth_plugin_name;
|
||||
|
||||
HandshakeResponse() = default;
|
||||
|
||||
HandshakeResponse(const HandshakeResponse &) = default;
|
||||
|
||||
void readPayload(String s) override
|
||||
{
|
||||
std::istringstream ss(s);
|
||||
@ -368,6 +372,10 @@ class NullTerminatedString : public ReadPacket
|
||||
public:
|
||||
String value;
|
||||
|
||||
NullTerminatedString() = default;
|
||||
|
||||
NullTerminatedString(const NullTerminatedString &) = default;
|
||||
|
||||
void readPayload(String s) override
|
||||
{
|
||||
if (s.length() == 0 || s.back() != 0)
|
||||
@ -542,6 +550,10 @@ class ComFieldList : public ReadPacket
|
||||
public:
|
||||
String table, field_wildcard;
|
||||
|
||||
ComFieldList() = default;
|
||||
|
||||
ComFieldList(const ComFieldList &) = default;
|
||||
|
||||
void readPayload(String payload)
|
||||
{
|
||||
std::istringstream ss(payload);
|
||||
|
Loading…
Reference in New Issue
Block a user