Update DatabaseMemory.cpp

This commit is contained in:
tavplubix 2020-09-21 14:12:45 +03:00 committed by GitHub
parent 3e0509af69
commit 7f629c8185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ ASTPtr DatabaseMemory::getCreateTableQueryImpl(const String & table_name, const
else
return {};
}
return it->second;
return it->second->clone();
}
UUID DatabaseMemory::tryGetTableUUID(const String & table_name) const