Skip to content

Commit

Permalink
support CREATE VIEW ... UnionStmt (pingcap#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
XuHuaiyu committed Oct 11, 2019
1 parent a90dba5 commit 2813e1f
Show file tree
Hide file tree
Showing 4 changed files with 3,812 additions and 3,703 deletions.
2 changes: 1 addition & 1 deletion ast/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ func (n *CreateViewStmt) Accept(v Visitor) (Node, bool) {
if !ok {
return n, false
}
n.Select = selnode.(*SelectStmt)
n.Select = selnode.(StmtNode)
return v.Leave(n)
}

Expand Down
Loading

0 comments on commit 2813e1f

Please sign in to comment.