Fix mysqltest, error code returned when calling ps statement recursively.
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
@ -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_) {
|
||||||
|
|||||||
Reference in New Issue
Block a user