提交 de67a02c authored 作者: Thomas Mueller's avatar Thomas Mueller

Small improvements.

上级 c819060d
...@@ -240,6 +240,12 @@ public class ValueLobDb extends Value implements Value.ValueClob, Value.ValueBlo ...@@ -240,6 +240,12 @@ public class ValueLobDb extends Value implements Value.ValueClob, Value.ValueBlo
} }
protected int compareSecure(Value v, CompareMode mode) { protected int compareSecure(Value v, CompareMode mode) {
if (v instanceof ValueLobDb) {
ValueLobDb v2 = (ValueLobDb) v;
if (lobId == v2.lobId) {
return 0;
}
}
if (type == Value.CLOB) { if (type == Value.CLOB) {
return Integer.signum(getString().compareTo(v.getString())); return Integer.signum(getString().compareTo(v.getString()));
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论