mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
ISSUES-4006 add check test case
This commit is contained in:
parent
04c2ab5ab9
commit
3ec80e92ed
@ -253,6 +253,7 @@ TEST(ParserAlterCommand, AlterOptionsCommand)
|
||||
EXPECT_EQ(ast->as<ASTAlterCommand>()->properties->as<ASTDeclareOptions>()->changes["checksum"]->as<ASTLiteral>()->value.safeGet<UInt64>(), 1);
|
||||
EXPECT_EQ(ast->as<ASTAlterCommand>()->properties->as<ASTDeclareOptions>()->changes["auto_increment"]->as<ASTLiteral>()->value.safeGet<UInt64>(), 1);
|
||||
|
||||
EXPECT_THROW(tryParserQuery(alter_p, "FORCE ALGORITHM DEFAULT"), Exception);
|
||||
EXPECT_THROW(tryParserQuery(alter_p, "ALGORITHM DEFAULT AUTO_INCREMENT 1"), Exception);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user