limit get_real_batch_type conditions and fix some mysqltest
This commit is contained in:
parent
d90aeb8241
commit
36b4b174ea
@ -348,7 +348,8 @@ int ObExprValuesOp::get_real_batch_obj_type(ObDatumMeta &src_meta,
|
||||
int64_t group_idx)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
if (T_QUESTIONMARK == src_expr->type_ &&
|
||||
if ((MY_SPEC.ins_values_batch_opt_ || (ctx_.has_dynamic_values_table() && MY_SPEC.array_group_idx_ >= 0)) &&
|
||||
T_QUESTIONMARK == src_expr->type_ &&
|
||||
src_expr->frame_idx_ < spec_.plan_->get_expr_frame_info().const_frame_.count() +
|
||||
spec_.plan_->get_expr_frame_info().param_frame_.count()) {
|
||||
int64_t param_idx = src_expr->extra_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user