HBASE-18904 Missing break in NEXT_ROW case of FilterList#mergeReturnCodeForOrOperator()
Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
parent
5917ad4c0c
commit
d142f07129
|
@ -566,6 +566,7 @@ final public class FilterList extends FilterBase {
|
||||||
if (isInReturnCodes(rc, ReturnCode.NEXT_ROW)) {
|
if (isInReturnCodes(rc, ReturnCode.NEXT_ROW)) {
|
||||||
return ReturnCode.NEXT_ROW;
|
return ReturnCode.NEXT_ROW;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case SEEK_NEXT_USING_HINT:
|
case SEEK_NEXT_USING_HINT:
|
||||||
if (isInReturnCodes(rc, ReturnCode.INCLUDE, ReturnCode.INCLUDE_AND_NEXT_COL,
|
if (isInReturnCodes(rc, ReturnCode.INCLUDE, ReturnCode.INCLUDE_AND_NEXT_COL,
|
||||||
ReturnCode.INCLUDE_AND_SEEK_NEXT_ROW)) {
|
ReturnCode.INCLUDE_AND_SEEK_NEXT_ROW)) {
|
||||||
|
@ -577,6 +578,7 @@ final public class FilterList extends FilterBase {
|
||||||
if (isInReturnCodes(rc, ReturnCode.SEEK_NEXT_USING_HINT)) {
|
if (isInReturnCodes(rc, ReturnCode.SEEK_NEXT_USING_HINT)) {
|
||||||
return ReturnCode.SEEK_NEXT_USING_HINT;
|
return ReturnCode.SEEK_NEXT_USING_HINT;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
"Received code is not valid. rc: " + rc + ", localRC: " + localRC);
|
"Received code is not valid. rc: " + rc + ", localRC: " + localRC);
|
||||||
|
|
Loading…
Reference in New Issue