[to #48421952] fix question_mark equal test with pl extend
This commit is contained in:
@ -21,6 +21,9 @@ bool ObQuestionmarkEqualCtx::compare_const(const ObConstRawExpr &left,
|
|||||||
bool bret = false;
|
bool bret = false;
|
||||||
if (left.get_expr_type() != right.get_expr_type() ||
|
if (left.get_expr_type() != right.get_expr_type() ||
|
||||||
left.get_result_type() != right.get_result_type() ||
|
left.get_result_type() != right.get_result_type() ||
|
||||||
|
(left.get_result_type().is_ext()
|
||||||
|
&& left.get_result_type().get_extend_type() > 0
|
||||||
|
&& left.get_result_type().get_extend_type() < T_EXT_SQL_ARRAY) ||
|
||||||
OB_SUCCESS != err_code_) {
|
OB_SUCCESS != err_code_) {
|
||||||
// do nothing
|
// do nothing
|
||||||
} else if (left.get_expr_type() != T_QUESTIONMARK) {
|
} else if (left.get_expr_type() != T_QUESTIONMARK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user