mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
Fixed bugs
This commit is contained in:
parent
16ce798345
commit
11e0b333dc
@ -877,6 +877,9 @@ inline T parse(const char * data, size_t size)
|
||||
return res;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline void readTextWithSuffix(T & x, ReadBuffer & buf) { readText(x, buf); }
|
||||
|
||||
template <typename T>
|
||||
inline std::enable_if_t<is_integral_v<T>, void>
|
||||
readTextWithSuffix(T & x, ReadBuffer & buf)
|
||||
@ -956,9 +959,6 @@ readTextWithSuffix(T & x, ReadBuffer & buf)
|
||||
return;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline void readTextWithSuffix(T & x, ReadBuffer & buf) { readText(x, buf); }
|
||||
|
||||
/// Read something from text format, but expect complete parse of given text
|
||||
/// For example: 723145 -- ok, 213MB -- not ok
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user