mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
fix style
This commit is contained in:
parent
d6247338de
commit
6bc1786047
@ -1046,8 +1046,7 @@ void AlterCommands::validate(const StorageInMemoryMetadata & metadata, ContextPt
|
|||||||
if (!all_columns.has(column_name))
|
if (!all_columns.has(column_name))
|
||||||
{
|
{
|
||||||
if (!command.if_exists)
|
if (!command.if_exists)
|
||||||
throw Exception{
|
throw Exception{"Wrong column name. Cannot find column " + backQuote(column_name) + " to modify"
|
||||||
"Wrong column name. Cannot find column " + backQuote(column_name) + " to modify"
|
|
||||||
+ all_columns.getHintsString(column_name),
|
+ all_columns.getHintsString(column_name),
|
||||||
ErrorCodes::NOT_FOUND_COLUMN_IN_BLOCK};
|
ErrorCodes::NOT_FOUND_COLUMN_IN_BLOCK};
|
||||||
else
|
else
|
||||||
@ -1164,8 +1163,7 @@ void AlterCommands::validate(const StorageInMemoryMetadata & metadata, ContextPt
|
|||||||
if (!all_columns.has(command.column_name))
|
if (!all_columns.has(command.column_name))
|
||||||
{
|
{
|
||||||
if (!command.if_exists)
|
if (!command.if_exists)
|
||||||
throw Exception{
|
throw Exception{"Wrong column name. Cannot find column " + backQuote(command.column_name) + " to comment"
|
||||||
"Wrong column name. Cannot find column " + backQuote(command.column_name) + " to comment"
|
|
||||||
+ all_columns.getHintsString(command.column_name),
|
+ all_columns.getHintsString(command.column_name),
|
||||||
ErrorCodes::NOT_FOUND_COLUMN_IN_BLOCK};
|
ErrorCodes::NOT_FOUND_COLUMN_IN_BLOCK};
|
||||||
}
|
}
|
||||||
@ -1201,8 +1199,7 @@ void AlterCommands::validate(const StorageInMemoryMetadata & metadata, ContextPt
|
|||||||
if (!all_columns.has(command.column_name))
|
if (!all_columns.has(command.column_name))
|
||||||
{
|
{
|
||||||
if (!command.if_exists)
|
if (!command.if_exists)
|
||||||
throw Exception{
|
throw Exception{"Wrong column name. Cannot find column " + backQuote(command.column_name) + " to rename"
|
||||||
"Wrong column name. Cannot find column " + backQuote(command.column_name) + " to rename"
|
|
||||||
+ all_columns.getHintsString(command.column_name),
|
+ all_columns.getHintsString(command.column_name),
|
||||||
ErrorCodes::NOT_FOUND_COLUMN_IN_BLOCK};
|
ErrorCodes::NOT_FOUND_COLUMN_IN_BLOCK};
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user