Skip to content

Commit a213e83

Browse files
author
Aaron Son
committed
Fix identation.
1 parent 89302e3 commit a213e83

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sql/parse/parse.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ func convertDDL(ctx *sql.Context, c *sqlparser.DDL) (sql.Node, error) {
373373
}
374374
return convertCreateTable(c)
375375
case sqlparser.DropStr:
376-
if len(c.FromViews) != 0 {
376+
if len(c.FromViews) != 0 {
377377
return convertDropView(ctx, c)
378378
}
379379
return convertDropTable(c)
@@ -406,10 +406,10 @@ func convertCreateView(ctx *sql.Context, c *sqlparser.DDL) (sql.Node, error) {
406406
return nil, ErrUnsupportedSyntax.New(c.ViewExpr)
407407
}
408408

409-
queryNode, err := convertSelect(ctx, selectStatement)
410-
if err != nil {
411-
return nil, err
412-
}
409+
queryNode, err := convertSelect(ctx, selectStatement)
410+
if err != nil {
411+
return nil, err
412+
}
413413

414414
queryAlias := plan.NewSubqueryAlias(c.View.Name.String(), queryNode)
415415

0 commit comments

Comments
 (0)