remove double sql command

This commit is contained in:
Sascha Kühl 2026-01-07 09:08:53 +01:00
parent 9155927f89
commit 099b72be05
1 changed files with 2 additions and 2 deletions

View File

@ -342,8 +342,8 @@ void query_compiler::visit(internal::query_create_table_constraints_part& part)
} }
void query_compiler::visit( internal::query_create_schema_part& part ) { void query_compiler::visit( internal::query_create_schema_part& part ) {
query_.sql += " " + dialect_->create() + " " + query_.command = sql::sql_command::SQL_CREATE_SCHEMA;
dialect_->schema() + " " + dialect_->prepare_identifier_string(part.schema()); query_.sql += " " + dialect_->schema() + " " + dialect_->prepare_identifier_string(part.schema());
} }
void query_compiler::visit(internal::query_drop_part &part) { void query_compiler::visit(internal::query_drop_part &part) {