[CP] [CP] issue<50775099>:forbid set global var when executing nested sql
This commit is contained in:
@ -159,7 +159,7 @@ int ObExprOpSubQueryInPl::eval_subquery(const ObExpr &expr,
|
||||
|
||||
SMART_VAR(ObSPIResultSet, spi_result) {
|
||||
OZ (spi_result.init(*session));
|
||||
OZ (spi_result.start_nested_stmt_if_need(&pl_exec_ctx, static_cast<stmt::StmtType>(info->type_), false));
|
||||
OZ (spi_result.start_nested_stmt_if_need(&pl_exec_ctx, info->route_sql_, static_cast<stmt::StmtType>(info->type_), false));
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
ObSPIOutParams out_params;
|
||||
|
||||
Reference in New Issue
Block a user