mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
dbms: fixed merging errors [METR-10071]
This commit is contained in:
parent
eda2a1590b
commit
0898ccfeb4
@ -237,7 +237,7 @@ StoragePtr InterpreterCreateQuery::execute(bool assume_metadata_exists)
|
||||
|
||||
if (create.is_temporary)
|
||||
{
|
||||
res->drop_on_destroy = true;
|
||||
res->is_dropped = true;
|
||||
context.getSessionContext().addExternalTable(table_name, res);
|
||||
}
|
||||
else
|
||||
|
@ -10,7 +10,7 @@
|
||||
namespace DB
|
||||
{
|
||||
|
||||
bool IStorage::hasRealColumn(const String &column_name) const
|
||||
bool ITableDeclaration::hasRealColumn(const String &column_name) const
|
||||
{
|
||||
const NamesAndTypesList & real_columns = getColumnsList();
|
||||
for (auto & it : real_columns)
|
||||
|
Loading…
Reference in New Issue
Block a user