mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fixed error
This commit is contained in:
parent
4f4dbfcf4a
commit
02e90b13e2
@ -925,7 +925,7 @@ StoragePtr Context::getTable(const String & database_name, const String & table_
|
||||
std::optional<Exception> exc;
|
||||
auto res = getTableImpl(database_name, table_name, &exc);
|
||||
if (!res)
|
||||
throw exc;
|
||||
throw *exc;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user