HBASE-10749 CellComparator.compareStatic() compares type wrongly (Ramkrishna S. Vasudevan)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1577765 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2014-03-15 00:05:53 +00:00
parent a1a5f57bff
commit 2ea3307765
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class CellComparator implements Comparator<Cell>, Serializable{
if (c != 0) return c; if (c != 0) return c;
//type //type
c = (0xff & a.getTypeByte()) - (0xff & b.getTypeByte()); c = (0xff & b.getTypeByte()) - (0xff & a.getTypeByte());
if (c != 0) return c; if (c != 0) return c;
//mvccVersion: later sorts first //mvccVersion: later sorts first