[to #51110137] fix text anonymous with question mark compatible Oracle

This commit is contained in:
obdev
2023-08-15 06:10:16 +00:00
committed by ob-robot
parent 7a3e524f27
commit 540e01a6ef
7 changed files with 29 additions and 9 deletions

View File

@ -437,7 +437,8 @@ int ObAnonymousBlockExecutor::execute(ObExecContext &ctx, ObAnonymousBlockStmt &
}
}
} else {
OZ (ctx.get_pl_engine()->execute(ctx, stmt.get_body()));
CK (OB_NOT_NULL(stmt.get_params()));
OZ (ctx.get_pl_engine()->execute(ctx, *stmt.get_params(), stmt.get_body()));
}
return ret;
}