mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
Update StorageSystemDatabases.cpp
This commit is contained in:
parent
3a9456ba40
commit
dd5aac75f9
@ -47,6 +47,8 @@ static String getEngineFull(const DatabasePtr & database)
|
|||||||
/// Database was dropped
|
/// Database was dropped
|
||||||
if (!locked_database && name == database->getDatabaseName())
|
if (!locked_database && name == database->getDatabaseName())
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
|
guard.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
ASTPtr ast = database->getCreateDatabaseQuery();
|
ASTPtr ast = database->getCreateDatabaseQuery();
|
||||||
|
Loading…
Reference in New Issue
Block a user