REQ-2135: add some notes
This commit is contained in:
parent
7120ed731a
commit
45702327cf
@ -105,17 +105,17 @@ class EvalVisitor implements SQLASTVisitor {
|
||||
|
||||
@Override
|
||||
public void endVisit(SQLNumberExpr x) {
|
||||
x.putAttribute(VALUE, x.getNumber());
|
||||
x.putAttribute(VALUE, x.getValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void endVisit(SQLSmallIntExpr x) {
|
||||
x.putAttribute(VALUE, x.getNumber());
|
||||
x.putAttribute(VALUE, x.getValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void endVisit(SQLIntegerExpr x) {
|
||||
x.putAttribute(VALUE, x.getNumber());
|
||||
x.putAttribute(VALUE, x.getValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -61,7 +61,7 @@ class Record {
|
||||
return value instanceof Byte ? (Byte) value : Byte.parseByte(str);
|
||||
else if (type == BigDecimal.class)
|
||||
return value instanceof BigDecimal ? (BigDecimal) value : new BigDecimal(str);
|
||||
log.warn("unsupported number value. expectedType={}, actualValue={}", type, value);
|
||||
log.warn("Unsupported number value. expectedType={}, actualValue={}", type, value);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user