Fixed error

This commit is contained in:
Alexey Milovidov 2020-01-10 15:47:59 +03:00
parent 4f4dbfcf4a
commit 02e90b13e2

View File

@ -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;
}