mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Style fix
This commit is contained in:
parent
8bd53cad78
commit
2c3a4cb90d
@ -156,8 +156,7 @@ void CSVFormatReader::skipFieldDelimiter()
|
||||
{
|
||||
skipWhitespacesAndTabs(*buf, format_settings.csv.allow_whitespace_or_tab_as_delimiter);
|
||||
|
||||
bool res = checkChar(format_settings.csv.delimiter, *buf);
|
||||
if (!res)
|
||||
if (!checkChar(format_settings.csv.delimiter, *buf))
|
||||
{
|
||||
if (!format_settings.csv.missing_as_default)
|
||||
{
|
||||
@ -165,9 +164,7 @@ void CSVFormatReader::skipFieldDelimiter()
|
||||
throwAtAssertionFailed(err, *buf);
|
||||
}
|
||||
else
|
||||
{
|
||||
current_row_has_missing_fields = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user