mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fix tests
This commit is contained in:
parent
d03fcb5ff1
commit
6530ae104d
@ -296,7 +296,7 @@ namespace
|
|||||||
if (which.isInt64() || which.isUInt64())
|
if (which.isInt64() || which.isUInt64())
|
||||||
{
|
{
|
||||||
auto new_type = std::make_shared<DataTypeFloat64>();
|
auto new_type = std::make_shared<DataTypeFloat64>();
|
||||||
if (json_info->numbers_parsed_from_json_strings.erase(type.get()))
|
if (json_info && json_info->numbers_parsed_from_json_strings.erase(type.get()))
|
||||||
json_info->numbers_parsed_from_json_strings.insert(new_type.get());
|
json_info->numbers_parsed_from_json_strings.insert(new_type.get());
|
||||||
type = new_type;
|
type = new_type;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user