mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Merge pull request #4530 from hczhcz/patch-1
Fix readBinary linkage error in Field.cpp
This commit is contained in:
commit
e64cf60236
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
inline void readBinary(Array & x, ReadBuffer & buf)
|
void readBinary(Array & x, ReadBuffer & buf)
|
||||||
{
|
{
|
||||||
size_t size;
|
size_t size;
|
||||||
UInt8 type;
|
UInt8 type;
|
||||||
@ -151,12 +151,8 @@ namespace DB
|
|||||||
DB::String res = applyVisitor(DB::FieldVisitorToString(), DB::Field(x));
|
DB::String res = applyVisitor(DB::FieldVisitorToString(), DB::Field(x));
|
||||||
buf.write(res.data(), res.size());
|
buf.write(res.data(), res.size());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
void readBinary(Tuple & x_def, ReadBuffer & buf)
|
||||||
namespace DB
|
|
||||||
{
|
|
||||||
inline void readBinary(Tuple & x_def, ReadBuffer & buf)
|
|
||||||
{
|
{
|
||||||
auto & x = x_def.toUnderType();
|
auto & x = x_def.toUnderType();
|
||||||
size_t size;
|
size_t size;
|
||||||
|
Loading…
Reference in New Issue
Block a user