[CP] [OBKV] cherry-pick bugfix from 421

This commit is contained in:
shenyunlong.syl
2024-01-17 06:13:26 +00:00
committed by ob-robot
parent aef2bb74ff
commit 7e4fadbe1e
26 changed files with 287 additions and 140 deletions

View File

@ -1062,7 +1062,8 @@ int ObCmdExecutor::execute(ObExecContext &ctx, ObICmd &cmd)
"cmd_type", cmd.get_cmd_type(),
"sql_text", ObHexEscapeSqlStr(ctx.get_sql_ctx()->is_sensitive_ ?
ObString(OB_MASKED_STR) : sql_text),
"return_code", ret);
"return_code", ret,
"tenant_id", MTL_ID());
}
if (is_ddl_or_dcl_stmt) {