mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
修复PGOutputVisitor 输出PGInsertStatementParser的时候on Conflict Update语法的输出错误
This commit is contained in:
@@ -455,7 +455,7 @@ public class PGOutputVisitor extends SQLASTOutputVisitor implements PGASTVisitor
|
||||
if (onConflictDoNothing) {
|
||||
print0(ucase ? " DO NOTHING" : " do nothing");
|
||||
} else if ((onConflictUpdateSetItems != null && onConflictUpdateSetItems.size() > 0)) {
|
||||
print0(ucase ? " UPDATE SET " : " update set ");
|
||||
print0(ucase ? " DO UPDATE SET " : " do update set ");
|
||||
printAndAccept(onConflictUpdateSetItems, ", ");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user