Skip to content

Commit

Permalink
planner: fix CTE bug when MergeJoin is used (#25514)
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-shaoge authored Jul 27, 2021
1 parent b872b05 commit 57d704b
Show file tree
Hide file tree
Showing 4 changed files with 493 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/explaintest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ func main() {
log.Info("Explain test passed")
}

var queryStmtTable = []string{"explain", "select", "show", "execute", "describe", "desc", "admin"}
var queryStmtTable = []string{"explain", "select", "show", "execute", "describe", "desc", "admin", "with"}

func trimSQL(sql string) string {
// Trim space.
Expand Down
Loading

0 comments on commit 57d704b

Please sign in to comment.