clickhouse: improved exception text [#CONV-2944].

This commit is contained in:
Michael Kolupaev 2013-02-11 17:57:48 +00:00
parent e6993c973a
commit 1f472dceca

View File

@ -65,7 +65,7 @@ void Expression::createAliasesDict(ASTPtr & ast)
{
if (aliases.count(*alias))
{
throw Exception("Multiple expressions with the same alias", ErrorCodes::MULTIPLE_EXPRESSIONS_FOR_ALIAS);
throw Exception("Multiple expressions with the same alias " + *alias, ErrorCodes::MULTIPLE_EXPRESSIONS_FOR_ALIAS);
}
else
{