mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Explicit else in exception handling
This commit is contained in:
parent
ad647786a1
commit
b05501f82c
@ -91,11 +91,13 @@ public:
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
if constexpr (error_handling == ErrorHandling::Exception)
|
||||
throw;
|
||||
res_data[i] = 0;
|
||||
if constexpr (error_handling == ErrorHandling::Null)
|
||||
col_null_map->getData()[i] = 1;
|
||||
if constexpr (error_handling == ErrorHandling::Exception) { throw; }
|
||||
else
|
||||
{
|
||||
res_data[i] = 0;
|
||||
if constexpr (error_handling == ErrorHandling::Null)
|
||||
col_null_map->getData()[i] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if constexpr (error_handling == ErrorHandling::Null)
|
||||
|
Loading…
Reference in New Issue
Block a user