Skip to content

Commit ed3825c

Browse files
committed
fix
1 parent cfe5d28 commit ed3825c

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/alipay/oceanbase/rpc/protocol/payload/impl

1 file changed

+1
-1
lines changed

src/main/java/com/alipay/oceanbase/rpc/protocol/payload/impl/ObObjType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ public ObObjMeta getDefaultObjMeta() {
13511351
*/
13521352
@Override
13531353
public Comparable parseToComparable(Object o, ObCollationType ct) throws IllegalArgumentException{
1354-
if (o instanceof Long) {
1354+
if (o instanceof Number) {
13551355
return parseLong(this, o, ct);
13561356
} else{
13571357
return parseTextToComparable(this, o, ct);

0 commit comments

Comments
 (0)