mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Support of Nullable types in MySQL tables
fix code style
This commit is contained in:
parent
4de40e438e
commit
fd5656963d
@ -79,7 +79,7 @@ DataTypePtr getDataType(const String & mysql_data_type, bool is_nullable, bool i
|
||||
else
|
||||
/// Also String is fallback for all unknown types.
|
||||
res = std::make_shared<DataTypeString>();
|
||||
if(is_nullable)
|
||||
if (is_nullable)
|
||||
res = std::make_shared<DataTypeNullable>(res);
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user