bugfix: add cast when replace order expr for some special aggregation funcs

This commit is contained in:
JinmaoLi
2024-05-11 10:07:05 +00:00
committed by ob-robot
parent 2b8def2dce
commit 693d2a2824
4 changed files with 25 additions and 8 deletions

View File

@ -49,9 +49,9 @@ public:
{
bitset_.reuse();
}
public:
int mask(const T &key)
{
public:
int mask(const T &key)
{
int ret = OB_SUCCESS;
if (!is_inited_) {
ret = OB_NOT_INIT;
@ -117,9 +117,9 @@ public:
}
}
if (OB_SUCCESS == ret) {
if (!hit) {
ret = OB_MASK_SET_NO_NODE;
} else {
if (!hit) {
ret = OB_MASK_SET_NO_NODE;
} else {
is_new_mask = tmp_new_mask;
}
}