[bugfix] fix text retrieval query with remote execcution and top-k pushdown 4016
This commit is contained in:
12
deps/oblib/src/lib/container/ob_mask_set2.h
vendored
12
deps/oblib/src/lib/container/ob_mask_set2.h
vendored
@ -58,9 +58,9 @@ public:
|
||||
} else {
|
||||
bool hit = false;
|
||||
for (int64_t i = 0 ; OB_SUCCESS == ret && i < array_->count(); i++) {
|
||||
if (array_->at(i) == key) {
|
||||
hit = true;
|
||||
if (OB_FAIL(bitset_.add_member(i))) {
|
||||
if (array_->at(i) == key) {
|
||||
hit = true;
|
||||
if (OB_FAIL(bitset_.add_member(i))) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -108,9 +108,9 @@ public:
|
||||
if (array_->at(i) == key) {
|
||||
hit = true;
|
||||
if (bitset_.has_member(i)) {
|
||||
tmp_new_mask = false;
|
||||
} else if (OB_FAIL(bitset_.add_member(i))) {
|
||||
} else {
|
||||
tmp_new_mask = false;
|
||||
} else if (OB_FAIL(bitset_.add_member(i))) {
|
||||
} else {
|
||||
tmp_new_mask = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user