diff --git a/src/Parsers/ParserDataType.cpp b/src/Parsers/ParserDataType.cpp index b0db5430726..63a73ff4d1c 100644 --- a/src/Parsers/ParserDataType.cpp +++ b/src/Parsers/ParserDataType.cpp @@ -97,21 +97,6 @@ bool ParserDataType::parseImpl(Pos & pos, ASTPtr & node, Expected & expected) type_name_suffix = "SIGNED"; else if (ParserKeyword("UNSIGNED").ignore(pos)) type_name_suffix = "UNSIGNED"; - else if (pos->type == TokenType::OpeningRoundBracket) - { - ++pos; - if (pos->type != TokenType::Number) - return false; - ++pos; - if (pos->type != TokenType::ClosingRoundBracket) - return false; - ++pos; - if (ParserKeyword("SIGNED").ignore(pos)) - type_name_suffix = "SIGNED"; - else if (ParserKeyword("UNSIGNED").ignore(pos)) - type_name_suffix = "UNSIGNED"; - } - } if (!type_name_suffix.empty()) diff --git a/tests/queries/0_stateless/00841_temporary_table_database.reference b/tests/queries/0_stateless/00841_temporary_table_database.reference index f22f30a4b2a..d00491fd7e5 100644 --- a/tests/queries/0_stateless/00841_temporary_table_database.reference +++ b/tests/queries/0_stateless/00841_temporary_table_database.reference @@ -1,5 +1 @@ 1 -CREATE TEMPORARY TABLE t3_00841\n(\n `x` UInt32\n)\nENGINE = Memory -1 -CREATE TEMPORARY TABLE t4_00841\n(\n `x` Int32\n)\nENGINE = Memory -1 diff --git a/tests/queries/0_stateless/00841_temporary_table_database.sql b/tests/queries/0_stateless/00841_temporary_table_database.sql index 96faa0e779b..a5927a4cd33 100644 --- a/tests/queries/0_stateless/00841_temporary_table_database.sql +++ b/tests/queries/0_stateless/00841_temporary_table_database.sql @@ -3,13 +3,3 @@ INSERT INTO t1_00841 VALUES (1); SELECT * FROM t1_00841; CREATE TEMPORARY TABLE test.t2_00841 (x UInt8); -- { serverError 442 } - -CREATE TEMPORARY TABLE t3_00841 (x INT(11) UNSIGNED); -SHOW CREATE TEMPORARY TABLE t3_00841; -INSERT INTO t3_00841 VALUES (1); -SELECT * FROM t3_00841; - -CREATE TEMPORARY TABLE t4_00841 (x INT(11) SIGNED); -SHOW CREATE TEMPORARY TABLE t4_00841; -INSERT INTO t4_00841 VALUES (1); -SELECT * FROM t4_00841;