[CP] [to #57831036] fix anonymous block with composite out parameter in ps mode
This commit is contained in:
@ -2457,7 +2457,7 @@ int ObSql::handle_ps_execute(const ObPsStmtId client_stmt_id,
|
||||
// call procedure stmt call always parse as dynamic sql
|
||||
context.is_dynamic_sql_ = true;
|
||||
}
|
||||
if (stmt::T_CALL_PROCEDURE == stmt_type && !context.is_execute_call_stmt_) {
|
||||
if ((stmt::T_CALL_PROCEDURE == stmt_type || stmt::T_ANONYMOUS_BLOCK == stmt_type) && !context.is_execute_call_stmt_) {
|
||||
context.is_execute_call_stmt_ = true;
|
||||
}
|
||||
ObParser parser(allocator, session.get_sql_mode(),
|
||||
|
||||
Reference in New Issue
Block a user