mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix trash
This commit is contained in:
parent
ee3314b0a0
commit
a23e766edc
@ -28,13 +28,16 @@ void ASTUndropQuery::formatQueryImpl(const FormatSettings & settings, FormatStat
|
||||
|
||||
chassert(table);
|
||||
|
||||
if (database)
|
||||
if (table)
|
||||
{
|
||||
database->formatImpl(settings, state, frame);
|
||||
settings.ostr << '.';
|
||||
}
|
||||
if (database)
|
||||
{
|
||||
database->formatImpl(settings, state, frame);
|
||||
settings.ostr << '.';
|
||||
}
|
||||
|
||||
table->formatImpl(settings, state, frame);
|
||||
table->formatImpl(settings, state, frame);
|
||||
}
|
||||
|
||||
if (uuid != UUIDHelpers::Nil)
|
||||
settings.ostr << (settings.hilite ? hilite_keyword : "") << " UUID " << (settings.hilite ? hilite_none : "")
|
||||
|
@ -58,7 +58,7 @@ bool parseUndropQuery(IParser::Pos & pos, ASTPtr & node, Expected & expected)
|
||||
if (database)
|
||||
query->children.push_back(database);
|
||||
|
||||
assert (table);
|
||||
chassert(table);
|
||||
query->children.push_back(table);
|
||||
|
||||
query->cluster = cluster_str;
|
||||
|
Loading…
Reference in New Issue
Block a user