Skip to content

Commit

Permalink
Including the With clause in walked subtrees to fix an issue where bi…
Browse files Browse the repository at this point in the history
…ndvars in With clauses weren't being found
  • Loading branch information
fulghum committed Oct 20, 2023
1 parent 45c2d7d commit 85359c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/sqlparser/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ func (node *Select) walkSubtree(visit Visit) error {
}
return Walk(
visit,
node.With,
node.Comments,
node.SelectExprs,
node.From,
Expand Down

0 comments on commit 85359c5

Please sign in to comment.