mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -775,15 +775,19 @@ public class OracleOutputVisitor extends SQLASTOutputVisitor implements OracleAS
|
||||
|
||||
@Override
|
||||
public boolean visit(OracleBinaryFloatExpr x) {
|
||||
print0(x.getValue().toString());
|
||||
print('F');
|
||||
if (x != null && x.getValue() != null) {
|
||||
print0(x.getValue().toString());
|
||||
print('F');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean visit(OracleBinaryDoubleExpr x) {
|
||||
print0(x.getValue().toString());
|
||||
print('D');
|
||||
if (x != null && x.getValue() != null) {
|
||||
print0(x.getValue().toString());
|
||||
print('D');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -957,14 +957,18 @@ public class PGOutputVisitor extends SQLASTOutputVisitor implements PGASTVisitor
|
||||
}
|
||||
|
||||
public boolean visit(OracleBinaryFloatExpr x) {
|
||||
print0(x.getValue().toString());
|
||||
print('F');
|
||||
if (x != null && x.getValue() != null) {
|
||||
print0(x.getValue().toString());
|
||||
print('F');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean visit(OracleBinaryDoubleExpr x) {
|
||||
print0(x.getValue().toString());
|
||||
print('D');
|
||||
if (x != null && x.getValue() != null) {
|
||||
print0(x.getValue().toString());
|
||||
print('D');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user