fix expr in for text when exist in hash table
This commit is contained in:
@ -254,7 +254,7 @@ int ObExprInHashMap<T>::set_refactored(const Row<T> &row)
|
|||||||
for (int i = 0; OB_SUCC(ret)
|
for (int i = 0; OB_SUCC(ret)
|
||||||
&& ObExprInHashMap<T>::HASH_CMP_TRUE != exist
|
&& ObExprInHashMap<T>::HASH_CMP_TRUE != exist
|
||||||
&& i < arr_ptr->count(); ++i) {
|
&& i < arr_ptr->count(); ++i) {
|
||||||
if (OB_FAIL(row.compare_with_null((*arr_ptr)[i],
|
if (OB_FAIL((*arr_ptr)[i].compare_with_null(row,
|
||||||
meta_.cmp_funcs_,
|
meta_.cmp_funcs_,
|
||||||
meta_.row_dimension_,
|
meta_.row_dimension_,
|
||||||
exist))) {
|
exist))) {
|
||||||
@ -281,7 +281,7 @@ int ObExprInHashMap<T>::exist_refactored(const Row<T> &row, int &exist_ret)
|
|||||||
} else {
|
} else {
|
||||||
int exist = ObExprInHashMap<T>::HASH_CMP_FALSE;
|
int exist = ObExprInHashMap<T>::HASH_CMP_FALSE;
|
||||||
for (int i=0; 0 != exist_ret && i < arr_ptr->count(); ++i) {
|
for (int i=0; 0 != exist_ret && i < arr_ptr->count(); ++i) {
|
||||||
if (OB_FAIL(row.compare_with_null((*arr_ptr)[i],
|
if (OB_FAIL((*arr_ptr)[i].compare_with_null(row,
|
||||||
meta_.cmp_funcs_,
|
meta_.cmp_funcs_,
|
||||||
meta_.row_dimension_,
|
meta_.row_dimension_,
|
||||||
exist))) {
|
exist))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user