add parallelsim in session_longops view

This commit is contained in:
Charles0429
2024-05-11 10:00:44 +00:00
committed by ob-robot
parent 8dac399321
commit 2b8def2dce
6 changed files with 31 additions and 15 deletions

View File

@ -52,9 +52,9 @@ public:
public:
int mask(const T &key)
{
int ret = OB_SUCCESS;
if (!is_inited_) {
ret = OB_NOT_INIT;
int ret = OB_SUCCESS;
if (!is_inited_) {
ret = OB_NOT_INIT;
} else {
bool hit = false;
for (int64_t i = 0 ; OB_SUCCESS == ret && i < array_->count(); i++) {
@ -114,9 +114,9 @@ public:
tmp_new_mask = true;
}
break;
}
}
if (OB_SUCCESS == ret) {
}
}
if (OB_SUCCESS == ret) {
if (!hit) {
ret = OB_MASK_SET_NO_NODE;
} else {