From a975408b7c90e2d545a7a490687cddb717d43807 Mon Sep 17 00:00:00 2001 From: ramkrishna Date: Thu, 11 Feb 2016 21:49:41 +0530 Subject: [PATCH] HBASE-15253 Small bug in CellUtil.matchingRow(Cell, byte[]) (Ram) --- .../src/main/java/org/apache/hadoop/hbase/CellUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java index 7242791d805..85b3913a484 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java @@ -460,7 +460,7 @@ public final class CellUtil { public static boolean matchingRow(final Cell left, final byte[] buf) { if (buf == null) { - return left.getQualifierLength() == 0; + return left.getRowLength() == 0; } return matchingRow(left, buf, 0, buf.length); }