mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update InterpreterCreateQuery.cpp
This commit is contained in:
parent
8ea2e558b5
commit
2194d4a109
@ -72,7 +72,7 @@ BlockIO InterpreterCreateQuery::createDatabase(ASTCreateQuery & create)
|
||||
|
||||
String database_name = create.database;
|
||||
|
||||
auto guard = context.getDDLGuardIfDatabaseDoesntExist(database_name, "Database " + database_name + " is creating or attaching right now");
|
||||
auto guard = context.getDDLGuardIfDatabaseDoesntExist(database_name, "Database " + database_name + " is creating right now");
|
||||
if (!guard)
|
||||
{
|
||||
if (create.if_not_exists)
|
||||
|
Loading…
Reference in New Issue
Block a user