mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #4526 from xenoamess-fork/Float_is_not_Double_in_SQLIntegerExpr
Float is not Double in SQLIntegerExpr
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user