mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Update src/Interpreters/InterpreterAlterQuery.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
This commit is contained in:
parent
12bee0573f
commit
e81c2999a3
@ -99,7 +99,7 @@ BlockIO InterpreterAlterQuery::executeToTable(const ASTAlterQuery & alter)
|
||||
}
|
||||
|
||||
if (!table)
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Could not find table: {}", table_id.table_name);
|
||||
throw Exception(ErrorCodes::UNKNOWN_TABLE, "Could not find table: {}", table_id.table_name);
|
||||
|
||||
checkStorageSupportsTransactionsIfNeeded(table, getContext());
|
||||
if (table->isStaticStorage())
|
||||
|
Loading…
Reference in New Issue
Block a user