mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Try to firx keeper build.
This commit is contained in:
parent
91aa2385ca
commit
0341c6c54b
@ -54,6 +54,7 @@ namespace
|
|||||||
return applyVisitor(FieldVisitorConvertToNumber<T>(), f);
|
return applyVisitor(FieldVisitorConvertToNumber<T>(), f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef KEEPER_STANDALONE_BUILD
|
||||||
Map stringToMap(const String & str)
|
Map stringToMap(const String & str)
|
||||||
{
|
{
|
||||||
/// Allow empty string as an empty map
|
/// Allow empty string as an empty map
|
||||||
@ -81,6 +82,8 @@ namespace
|
|||||||
|
|
||||||
return f.safeGet<const Map &>();
|
return f.safeGet<const Map &>();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
@ -321,6 +324,8 @@ void SettingFieldString::readBinary(ReadBuffer & in)
|
|||||||
*this = std::move(str);
|
*this = std::move(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef KEEPER_STANDALONE_BUILD
|
||||||
|
|
||||||
SettingFieldMap::SettingFieldMap(const Field & f) : value(fieldToMap(f)) {}
|
SettingFieldMap::SettingFieldMap(const Field & f) : value(fieldToMap(f)) {}
|
||||||
|
|
||||||
String SettingFieldMap::toString() const
|
String SettingFieldMap::toString() const
|
||||||
@ -360,6 +365,7 @@ void SettingFieldMap::readBinary(ReadBuffer & in)
|
|||||||
*this = map;
|
*this = map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -168,6 +168,8 @@ struct SettingFieldString
|
|||||||
void readBinary(ReadBuffer & in);
|
void readBinary(ReadBuffer & in);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef KEEPER_STANDALONE_BUILD
|
||||||
|
|
||||||
struct SettingFieldMap
|
struct SettingFieldMap
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -191,6 +193,8 @@ public:
|
|||||||
void readBinary(ReadBuffer & in);
|
void readBinary(ReadBuffer & in);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
struct SettingFieldChar
|
struct SettingFieldChar
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user