Add params value for text ps in sql audit

This commit is contained in:
obdev
2023-02-06 14:46:26 +08:00
committed by ob-robot
parent 99db3122b5
commit cd043fb8d0
4 changed files with 52 additions and 3 deletions

View File

@ -4884,6 +4884,8 @@ int ObSql::handle_text_execute(const ObStmt *basic_stmt,
result,
false/*is_inner_sql*/))) {
LOG_WARN("ps execute failed", K(ret));
} else if (OB_FAIL(construct_param_store(param_store, result.get_ps_params()))) {
LOG_WARN("construct ps params failed", K(ret));
}
}
LOG_DEBUG("handle text execute done", K(ret), KPC(exec_stmt), K(param_store));