diff --git a/src/sql/engine/expr/ob_expr_in.cpp b/src/sql/engine/expr/ob_expr_in.cpp index fd8f7c6479..bee763fded 100644 --- a/src/sql/engine/expr/ob_expr_in.cpp +++ b/src/sql/engine/expr/ob_expr_in.cpp @@ -254,10 +254,10 @@ int ObExprInHashMap::set_refactored(const Row &row) for (int i = 0; OB_SUCC(ret) && ObExprInHashMap::HASH_CMP_TRUE != exist && i < arr_ptr->count(); ++i) { - if (OB_FAIL(row.compare_with_null((*arr_ptr)[i], - meta_.cmp_funcs_, - meta_.row_dimension_, - exist))) { + if (OB_FAIL((*arr_ptr)[i].compare_with_null(row, + meta_.cmp_funcs_, + meta_.row_dimension_, + exist))) { LOG_WARN("compare with null failed", K(ret)); } } @@ -281,10 +281,10 @@ int ObExprInHashMap::exist_refactored(const Row &row, int &exist_ret) } else { int exist = ObExprInHashMap::HASH_CMP_FALSE; for (int i=0; 0 != exist_ret && i < arr_ptr->count(); ++i) { - if (OB_FAIL(row.compare_with_null((*arr_ptr)[i], - meta_.cmp_funcs_, - meta_.row_dimension_, - exist))) { + if (OB_FAIL((*arr_ptr)[i].compare_with_null(row, + meta_.cmp_funcs_, + meta_.row_dimension_, + exist))) { LOG_WARN("compare with null failed", K(ret)); } else if (ObExprInHashMap::HASH_CMP_UNKNOWN == exist || ObExprInHashMap::HASH_CMP_TRUE == exist) {