mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
CLICKHOUSE-3772: Fix initialization
This commit is contained in:
parent
73bcc95af9
commit
32e03f42ef
@ -47,7 +47,7 @@ namespace
|
||||
}
|
||||
ASTPtr createFakeEnumCreationAst()
|
||||
{
|
||||
String fakename = "e";
|
||||
String fakename{"e"};
|
||||
ASTPtr name = std::make_shared<ASTLiteral>(Field(fakename.c_str(), fakename.size()));
|
||||
ASTPtr value = std::make_shared<ASTLiteral>(Field(UInt64(1)));
|
||||
ASTPtr ast_func = makeASTFunction("equals", name, value);
|
||||
|
Loading…
Reference in New Issue
Block a user