mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
dbms: fixed error message [#METR-18810].
This commit is contained in:
parent
998f5fd552
commit
513b4e0dc2
@ -32,7 +32,8 @@ namespace DB
|
||||
};
|
||||
}
|
||||
|
||||
const auto add_column = [this] (NamesAndTypesList & columns) {
|
||||
const auto add_column = [this] (NamesAndTypesList & columns)
|
||||
{
|
||||
auto insert_it = columns.end();
|
||||
|
||||
if (!after_column.empty())
|
||||
@ -44,7 +45,7 @@ namespace DB
|
||||
std::bind(namesEqual, std::cref(after_column), std::placeholders::_1));
|
||||
|
||||
if (reverse_insert_it == columns.rend())
|
||||
throw Exception("Wrong column name. Cannot find column " + column_name + " to insert after",
|
||||
throw Exception("Wrong column name. Cannot find column " + after_column + " to insert after",
|
||||
DB::ErrorCodes::ILLEGAL_COLUMN);
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user