mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
Fix linker errors
This commit is contained in:
parent
beb0d08bdb
commit
2ad8ab2a57
@ -236,7 +236,7 @@ String readByEscapingRule(ReadBuffer & buf, FormatSettings::EscapingRule escapin
|
||||
if constexpr (read_string)
|
||||
readEscapedString(result, buf);
|
||||
else
|
||||
readTSVField<false>(result, buf);
|
||||
readTSVField(result, buf);
|
||||
break;
|
||||
default:
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Cannot read value with {} escaping rule", escapingRuleToString(escaping_rule));
|
||||
|
@ -1897,8 +1897,8 @@ bool tryReadQuotedField(String & s, ReadBuffer & buf);
|
||||
void readJSONField(String & s, ReadBuffer & buf);
|
||||
bool tryReadJSONField(String & s, ReadBuffer & buf);
|
||||
|
||||
template<bool support_crlf>
|
||||
void readTSVField(String & s, ReadBuffer & buf);
|
||||
void readTSVFieldCRLF(String & s, ReadBuffer & buf);
|
||||
|
||||
/** Parse the escape sequence, which can be simple (one character after backslash) or more complex (multiple characters).
|
||||
* It is assumed that the cursor is located on the `\` symbol
|
||||
|
@ -121,7 +121,7 @@ String TabSeparatedFormatReader::readFieldIntoString()
|
||||
if constexpr (read_string)
|
||||
support_crlf ? readEscapedStringCRLF(field, *buf) : readEscapedString(field, *buf);
|
||||
else
|
||||
support_crlf ? readTSVField<true>(field, *buf) : readTSVField<false>(field, *buf);
|
||||
support_crlf ? readTSVFieldCRLF(field, *buf) : readTSVField(field, *buf);
|
||||
}
|
||||
return field;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user