Merge pull request #4526 from xenoamess-fork/Float_is_not_Double_in_SQLIntegerExpr

Float is not Double in SQLIntegerExpr
This commit is contained in:
温绍锦
2022-03-21 09:53:36 +08:00
committed by GitHub
@@ -199,7 +199,7 @@ public class SQLIntegerExpr extends SQLNumericLiteralExpr implements SQLValuable
}
if (this.number instanceof Double && o.number instanceof Double) {
return ((Float) this.number).compareTo((Float) o.number);
return ((Double) this.number).compareTo((Double) o.number);
}
return -1;