Style fixes

This commit is contained in:
Kostiantyn Storozhuk 2021-06-25 16:44:28 +08:00
parent 4a3145f586
commit 7516d39091
2 changed files with 2 additions and 2 deletions

View File

@ -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;