mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Style fixes
This commit is contained in:
parent
4a3145f586
commit
7516d39091
@ -109,7 +109,7 @@ static NamesAndTypesList getColumnsList(const ASTExpressionList * columns_defini
|
|||||||
/// Transforms MySQL ENUM's list of strings to ClickHouse string-integer pairs
|
/// Transforms MySQL ENUM's list of strings to ClickHouse string-integer pairs
|
||||||
/// For example ENUM('a', 'b', 'c') -> ENUM('a'=1, 'b'=2, 'c'=3)
|
/// For example ENUM('a', 'b', 'c') -> ENUM('a'=1, 'b'=2, 'c'=3)
|
||||||
/// Elements on a position further than 32767 are assigned negative values, starting with -32768.
|
/// Elements on a position further than 32767 are assigned negative values, starting with -32768.
|
||||||
/// Note: Enum would be transfomed to Enum8 if number of ellements is less then 128, otherwise it would be transformed to Enum16.
|
/// Note: Enum would be transformed to Enum8 if number of ellements is less then 128, otherwise it would be transformed to Enum16.
|
||||||
if (type_name_upper.find("ENUM") != String::npos)
|
if (type_name_upper.find("ENUM") != String::npos)
|
||||||
{
|
{
|
||||||
UInt16 i = 0;
|
UInt16 i = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user