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:
Andrew Kyle Purtell 2014-03-24 18:47:15 +00:00
parent 2d17ce3999
commit 76c6aee2c6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}