mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 02:12:21 +00:00
Update ReadHelpers.h
This commit is contained in:
parent
68433bf3c8
commit
8ad704969c
@ -677,11 +677,11 @@ inline void readBinary(LocalDate & x, ReadBuffer & buf) { readPODBinary(x, buf);
|
||||
/// Generic methods to read value in text tab-separated format.
|
||||
template <typename T>
|
||||
inline std::enable_if_t<is_integral_v<T>, void>
|
||||
readText(T & x, ReadBuffer & buf) { readIntText(x, buf); std::cerr << "\n\nEnter in readText for integral\n\n";}
|
||||
readText(T & x, ReadBuffer & buf) { readIntText(x, buf); }
|
||||
|
||||
template <typename T>
|
||||
inline std::enable_if_t<std::is_floating_point_v<T>, void>
|
||||
readText(T & x, ReadBuffer & buf) { readFloatText(x, buf);}
|
||||
readText(T & x, ReadBuffer & buf) { readFloatText(x, buf); }
|
||||
|
||||
inline void readText(bool & x, ReadBuffer & buf) { readBoolText(x, buf); }
|
||||
inline void readText(String & x, ReadBuffer & buf) { readEscapedString(x, buf); }
|
||||
|
Loading…
Reference in New Issue
Block a user