Fix mysqltest, error code returned when calling ps statement recursively.

This commit is contained in:
swjtu-wenxiang
2024-05-11 10:46:14 +00:00
committed by ob-robot
parent 1dafc3369c
commit d0d5ec59fd

View File

@ -34,9 +34,9 @@ public:
ret = OB_INVALID_ARGUMENT; ret = OB_INVALID_ARGUMENT;
} else if (OB_FAIL(bitset_.reserve(array->count()))) { } else if (OB_FAIL(bitset_.reserve(array->count()))) {
} else { } else {
array_ = array; array_ = array;
is_inited_ = true; is_inited_ = true;
} }
return ret; return ret;
} }
void reset() void reset()
@ -132,9 +132,9 @@ public:
if (is_inited_) { if (is_inited_) {
bool_ret = (array_->count() == bitset_.num_members()); bool_ret = (array_->count() == bitset_.num_members());
} }
return bool_ret; return bool_ret;
} }
int get_not_mask(ObIArray<T> &array) const int get_not_mask(ObIArray<T> &array) const
{ {
int ret = OB_SUCCESS; int ret = OB_SUCCESS;
if (!is_inited_) { if (!is_inited_) {