fix mysqltest

This commit is contained in:
obdev
2022-12-05 08:38:25 +00:00
committed by ob-robot
parent 9b1a295283
commit 861f3e0dbf

View File

@ -368,7 +368,7 @@ int ObMergeSetOp::locate_next_left_inside(ObOperator &child_op,
&& OB_FAIL(cmp_(*last_row_.store_row_, child_op.get_spec().output_, && OB_FAIL(cmp_(*last_row_.store_row_, child_op.get_spec().output_,
curr_idx, eval_ctx_, cmp))) { curr_idx, eval_ctx_, cmp))) {
LOG_WARN("failed to compare row", K(ret)); LOG_WARN("failed to compare row", K(ret));
} else if (last_idx < 0) { } else if (nullptr == last_row_.store_row_ && last_idx < 0) {
ret = OB_ERR_UNEXPECTED; ret = OB_ERR_UNEXPECTED;
LOG_WARN("get wrong last idx", K(ret)); LOG_WARN("get wrong last idx", K(ret));
} else if (nullptr == last_row_.store_row_ } else if (nullptr == last_row_.store_row_