fix exec param is wrongly copied
This commit is contained in:
@ -105,7 +105,9 @@ int ObRawExprCopier::check_need_copy(const ObRawExpr *old_expr,
|
|||||||
} else if (OB_UNLIKELY(OB_HASH_NOT_EXIST != tmp)) {
|
} else if (OB_UNLIKELY(OB_HASH_NOT_EXIST != tmp)) {
|
||||||
ret = tmp;
|
ret = tmp;
|
||||||
LOG_WARN("get expr from hash map failed", K(ret));
|
LOG_WARN("get expr from hash map failed", K(ret));
|
||||||
} else if (old_expr->is_exec_param_expr() &&
|
}
|
||||||
|
if (OB_SUCC(ret) && OB_ISNULL(new_expr) &&
|
||||||
|
old_expr->is_exec_param_expr() &&
|
||||||
!static_cast<const ObExecParamRawExpr *>(old_expr)->is_onetime()) {
|
!static_cast<const ObExecParamRawExpr *>(old_expr)->is_onetime()) {
|
||||||
// TODO link.zt skip the copy of exec param expr
|
// TODO link.zt skip the copy of exec param expr
|
||||||
// let the query ref raw expr to copy the expr
|
// let the query ref raw expr to copy the expr
|
||||||
|
|||||||
Reference in New Issue
Block a user