Skip to content

Commit

Permalink
Merge pull request #919 from dolthub/james/alter
Browse files Browse the repository at this point in the history
support multi-alter statements
  • Loading branch information
jycor authored Nov 5, 2024
2 parents fdf1420 + 3cb744c commit f23433f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions server/ast/alter_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ func nodeAlterTableCmds(

if len(node) == 0 {
return nil, fmt.Errorf("no commands specified for ALTER TABLE statement")
} else if len(node) > 1 {
return nil, fmt.Errorf("ALTER TABLE with multiple commands is not yet supported")
}

vitessDdlCmds := make([]*vitess.DDL, 0, len(node))
Expand Down
Loading

0 comments on commit f23433f

Please sign in to comment.