From a1c824a6057aba58e4668369b6ba59f460c808e6 Mon Sep 17 00:00:00 2001 From: ruiliping <1123183721@qq.com> Date: Mon, 28 Jun 2021 16:22:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D#4339=EF=BC=9ASQLUpdateStatem?= =?UTF-8?q?ent=E7=BC=BA=E5=B0=91=E5=AF=B9with=E8=AF=AD=E5=8F=A5=E7=9A=84?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alibaba/druid/sql/ast/statement/SQLUpdateStatement.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/alibaba/druid/sql/ast/statement/SQLUpdateStatement.java b/src/main/java/com/alibaba/druid/sql/ast/statement/SQLUpdateStatement.java index de4faf786e..3c1ef03eb9 100644 --- a/src/main/java/com/alibaba/druid/sql/ast/statement/SQLUpdateStatement.java +++ b/src/main/java/com/alibaba/druid/sql/ast/statement/SQLUpdateStatement.java @@ -170,6 +170,10 @@ protected void accept0(SQLASTVisitor visitor) { protected void acceptChild(SQLASTVisitor visitor) { + if (with != null) { + with.accept(visitor); + } + if (tableSource != null) { tableSource.accept(visitor); }