Miscellaneous [#METR-2944].

This commit is contained in:
Alexey Milovidov 2017-01-06 20:30:19 +03:00
parent 78c867a147
commit eb946f4c6f

View File

@ -10,6 +10,12 @@
namespace DB
{
namespace ErrorCodes
{
extern const int BAD_ARGUMENTS;
}
std::string getClusterName(const IAST & node)
{
if (const ASTIdentifier * ast_id = typeid_cast<const ASTIdentifier *>(&node))