Skip to content

Commit 6b0c032

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 24a5014 commit 6b0c032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/planbuilder/ddl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func (b *Builder) buildCreateTable(inScope *scope, c *ast.DDL) (outScope *scope)
317317
if c.TableSpec == nil && c.OptSelect != nil {
318318
selectScope := b.buildSelectStmt(inScope, c.OptSelect.Select)
319319
sch := b.resolveSchemaDefaults(outScope, selectScope.node.Schema())
320-
320+
321321
// Add implicit DEFAULT NULL for nullable columns to match MySQL behavior
322322
for _, col := range sch {
323323
if col.Default == nil && col.Nullable {
@@ -330,7 +330,7 @@ func (b *Builder) buildCreateTable(inScope *scope, c *ast.DDL) (outScope *scope)
330330
}
331331
}
332332
}
333-
333+
334334
tableSpec := &plan.TableSpec{
335335
Schema: sql.NewPrimaryKeySchema(sch),
336336
}

0 commit comments

Comments
 (0)