alibaba / cobar

a proxy for sharding databases and tables
Apache License 2.0
3.21k stars 1.22k forks source link

..parser.ast.expression.arithmeic.ArithmeticSubtractExpression 代码错误 #66

Open tupunco opened 9 years ago

tupunco commented 9 years ago

输入参数 long2 判断错误

    @Override
    public Number calculate(Long long1, Long long2) {
        if (long1 == null || long1 == null)
            return null;
        ...
    }

ArithmeticSubtractExpression.java#L68