HBASE-10802 CellComparator.compareStaticIgnoreMvccVersion compares type wrongly (Ramkrishna S. Vasudevan)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1580989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2d17ce3999
commit
76c6aee2c6
|
@ -201,7 +201,7 @@ public class CellComparator implements Comparator<Cell>, Serializable{
|
|||
if (c != 0) return c;
|
||||
|
||||
//type
|
||||
c = (0xff & a.getTypeByte()) - (0xff & b.getTypeByte());
|
||||
c = (0xff & b.getTypeByte()) - (0xff & a.getTypeByte());
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue