mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -1327,9 +1327,9 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
}
|
||||
|
||||
protected void printInteger(SQLIntegerExpr x, boolean parameterized) {
|
||||
long val = x.getNumber().longValue();
|
||||
String val = x.getNumber().toString();
|
||||
|
||||
if (val == 1) {
|
||||
if ("1".equals(val)) {
|
||||
if (JdbcConstants.ORACLE.equals(dbType)) {
|
||||
SQLObject parent = x.getParent();
|
||||
if (parent instanceof SQLBinaryOpExpr) {
|
||||
|
||||
Reference in New Issue
Block a user