mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
fix bugs
This commit is contained in:
parent
8b2e163d76
commit
e4b78e7dac
@ -422,7 +422,7 @@ private:
|
|||||||
res_data.resize_exact(rows);
|
res_data.resize_exact(rows);
|
||||||
if constexpr (nullable_result)
|
if constexpr (nullable_result)
|
||||||
{
|
{
|
||||||
if (res_null_map)
|
if (!res_null_map)
|
||||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Invalid result null_map while result type is nullable");
|
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Invalid result null_map while result type is nullable");
|
||||||
|
|
||||||
res_null_map->resize_exact(rows);
|
res_null_map->resize_exact(rows);
|
||||||
|
Loading…
Reference in New Issue
Block a user