mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Try fix tests
This commit is contained in:
parent
2ed72501d1
commit
ff6e814757
@ -61,9 +61,16 @@ void ASTInsertQuery::formatImpl(const FormatSettings & settings, FormatState & s
|
||||
partition_by->formatImpl(settings, state, frame);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (table_id)
|
||||
{
|
||||
settings.ostr << (settings.hilite ? hilite_none : "")
|
||||
<< (!getDatabase().empty() ? backQuoteIfNeed(getDatabase()) + "." : "") << backQuoteIfNeed(getTable());
|
||||
<< (!table_id.database_name.empty() ? backQuoteIfNeed(table_id.database_name) + "." : "") << backQuoteIfNeed(table_id.table_name);
|
||||
}
|
||||
else
|
||||
{
|
||||
settings.ostr << (settings.hilite ? hilite_none : "")
|
||||
<< (!database ? backQuoteIfNeed(getDatabase()) + "." : "") << backQuoteIfNeed(getTable());
|
||||
}
|
||||
|
||||
if (columns)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user