File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/main/java/net/sf/jsqlparser/expression Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -283,14 +283,7 @@ public void visit(Column column) {
283283
284284 @ Override
285285 public void visit (ParenthesedSelect selectBody ) {
286- if (selectVisitor != null ) {
287- if (selectBody .getWithItemsList () != null ) {
288- for (WithItem item : selectBody .getWithItemsList ()) {
289- item .accept (selectVisitor );
290- }
291- }
292- selectBody .accept (selectVisitor );
293- }
286+ visit ((Select ) selectBody );
294287 if (selectBody .getPivot () != null ) {
295288 selectBody .getPivot ().accept (this );
296289 }
@@ -663,7 +656,14 @@ public void visit(GeometryDistance geometryDistance) {
663656
664657 @ Override
665658 public void visit (Select selectBody ) {
666-
659+ if (selectVisitor != null ) {
660+ if (selectBody .getWithItemsList () != null ) {
661+ for (WithItem item : selectBody .getWithItemsList ()) {
662+ item .accept (selectVisitor );
663+ }
664+ }
665+ selectBody .accept (selectVisitor );
666+ }
667667 }
668668
669669 @ Override
You can’t perform that action at this time.
0 commit comments