[CP] fix in and row expr bug

This commit is contained in:
Larry955 2023-04-11 12:23:33 +08:00 committed by ob-robot
parent 7286c78491
commit 5d96ca2ba3

View File

@ -4309,6 +4309,10 @@ int ObQueryRange::do_row_gt_and(ObKeyPart *l_gt, ObKeyPart *r_gt, ObKeyPart *&r
result = r_cur;
} else if (r_cur->is_like_key()) {
result = l_cur;
} else if (l_cur->is_in_key()) {
result = l_cur;
} else if (r_cur->is_in_key()) {
result = r_cur;
} else if (!l_cur->is_normal_key() || !r_cur->is_normal_key()
|| l_cur->is_always_true() || l_cur->is_always_false()
|| r_cur->is_always_true() || r_cur->is_always_false()) {