Update src/Parsers/parseDatabaseAndTableName.cpp

Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
This commit is contained in:
Nikolay Degterinsky 2021-11-03 12:49:23 +03:00 committed by GitHub
parent 677eb5bbda
commit 4d1cca0adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ bool parseDatabase(IParser::Pos & pos, Expected & expected, String & database_st
bool parseDatabaseASTPtr(IParser::Pos & pos, Expected & expected, ASTPtr & database)
{
ParserToken s_dot(TokenType::Dot);
ParserIdentifier identifier_parser(true);
ParserIdentifier identifier_parser(/* allow_query_parameter */true);
return identifier_parser.parse(pos, database, expected);
}