fix: join after interval
This commit is contained in:
parent
518a1e6ece
commit
84d75c2ec0
|
@ -128,8 +128,9 @@ FORCE_INLINE int32_t getForwardStepsInBlock(int32_t numOfRows, __block_search_fn
|
||||||
if (end >= 0) {
|
if (end >= 0) {
|
||||||
forwardRows = end;
|
forwardRows = end;
|
||||||
|
|
||||||
if (pData[end + pos] == ekey) {
|
while (pData[end + pos] == ekey) {
|
||||||
forwardRows += 1;
|
forwardRows += 1;
|
||||||
|
++pos;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -137,8 +138,9 @@ FORCE_INLINE int32_t getForwardStepsInBlock(int32_t numOfRows, __block_search_fn
|
||||||
if (end >= 0) {
|
if (end >= 0) {
|
||||||
forwardRows = end;
|
forwardRows = end;
|
||||||
|
|
||||||
if (pData[end + pos] == ekey) {
|
while (pData[end + pos] == ekey) {
|
||||||
forwardRows += 1;
|
forwardRows += 1;
|
||||||
|
++pos;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// int32_t end = searchFn((char*)pData, pos + 1, ekey, order);
|
// int32_t end = searchFn((char*)pData, pos + 1, ekey, order);
|
||||||
|
|
Loading…
Reference in New Issue