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