mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
22 lines
531 B
C++
22 lines
531 B
C++
#include <Parsers/ASTQualifiedAsterisk.h>
|
|
#include <IO/WriteHelpers.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void ASTQualifiedAsterisk::appendColumnName(WriteBuffer & ostr) const
|
|
{
|
|
const auto & qualifier = children.at(0);
|
|
qualifier->appendColumnName(ostr);
|
|
writeCString(".*", ostr);
|
|
}
|
|
|
|
void ASTQualifiedAsterisk::formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const
|
|
{
|
|
const auto & qualifier = children.at(0);
|
|
qualifier->formatImpl(settings, state, frame);
|
|
settings.ostr << ".*";
|
|
}
|
|
|
|
}
|