mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 10:40:49 +00:00
OPTIMIZE(1)
This commit is contained in:
parent
66ae943899
commit
6e4efb94f0
@ -83,7 +83,13 @@ String DB::RowInputStreamWithDiagnosticInfo::getDiagnosticInfo()
|
||||
return out.str();
|
||||
}
|
||||
|
||||
bool RowInputStreamWithDiagnosticInfo::deserializeFieldAndPrintDiagnosticInfo(const String & col_name, const DataTypePtr & type,
|
||||
/** gcc-7 may generate wrong code with optimization level greater than 1.
|
||||
* See tests: dbms/src/IO/tests/write_int.cpp
|
||||
* and dbms/tests/queries/0_stateless/00898_parsing_bad_diagnostic_message.sh
|
||||
* This is compiler bug. The bug does not present in gcc-8 and clang-8.
|
||||
* Nevertheless, we don't need high optimization of this function.
|
||||
*/
|
||||
bool OPTIMIZE(1) RowInputStreamWithDiagnosticInfo::deserializeFieldAndPrintDiagnosticInfo(const String & col_name, const DataTypePtr & type,
|
||||
IColumn & column,
|
||||
WriteBuffer & out,
|
||||
size_t input_position)
|
||||
|
Loading…
Reference in New Issue
Block a user