Update InterpreterCreateQuery.cpp

This commit is contained in:
Anton Popov 2018-09-11 17:43:30 +03:00 committed by GitHub
parent 8ea2e558b5
commit 2194d4a109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)