HBASE-18904 Missing break in NEXT_ROW case of FilterList#mergeReturnCodeForOrOperator()
Signed-off-by: tedyu <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1a5b3a33 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1a5b3a33 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1a5b3a33 Branch: refs/heads/branch-2 Commit: 1a5b3a336337cb5b4d2db83d52838dc3b9b75eb6 Parents: 15eae6a Author: Biju Nair <[email protected]> Authored: Fri Sep 29 16:55:54 2017 -0400 Committer: zhangduo <[email protected]> Committed: Wed Oct 25 20:41:24 2017 +0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/filter/FilterList.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/1a5b3a33/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java ---------------------------------------------------------------------- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java index 3147ab0..b518645 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java @@ -566,6 +566,7 @@ final public class FilterList extends FilterBase { if (isInReturnCodes(rc, ReturnCode.NEXT_ROW)) { return ReturnCode.NEXT_ROW; } + break; case SEEK_NEXT_USING_HINT: if (isInReturnCodes(rc, ReturnCode.INCLUDE, ReturnCode.INCLUDE_AND_NEXT_COL, ReturnCode.INCLUDE_AND_SEEK_NEXT_ROW)) { @@ -577,6 +578,7 @@ final public class FilterList extends FilterBase { if (isInReturnCodes(rc, ReturnCode.SEEK_NEXT_USING_HINT)) { return ReturnCode.SEEK_NEXT_USING_HINT; } + break; } throw new IllegalStateException( "Received code is not valid. rc: " + rc + ", localRC: " + localRC);
