Skip to content

Commit a0f2226

Browse files
committed
amend comment
1 parent 0d9045e commit a0f2226

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/rowexec/ddl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ func (b *BaseBuilder) buildCreateDB(ctx *sql.Context, n *plan.CreateDB, row sql.
405405

406406
func (b *BaseBuilder) buildCreateSchema(ctx *sql.Context, n *plan.CreateSchema, row sql.Row) (sql.RowIter, error) {
407407
database := ctx.GetCurrentDatabase()
408-
409-
// If no database is selected, first try to fall back to CREATE DATABASE behavior
408+
409+
// If no database is selected, first try to fall back to CREATE DATABASE
410410
// since CREATE SCHEMA is a synonym for CREATE DATABASE in MySQL
411411
// https://dev.mysql.com/doc/refman/8.4/en/create-database.html
412412
if database == "" {

0 commit comments

Comments
 (0)