[to #46843562] use new request_type to record sql from pl
This commit is contained in:
@ -1624,7 +1624,8 @@ const ObAuditRecordData &ObSQLSessionInfo::get_final_audit_record(
|
||||
|| EXECUTE_PS_SEND_PIECE == mode
|
||||
|| EXECUTE_PS_GET_PIECE == mode
|
||||
|| EXECUTE_PS_SEND_LONG_DATA == mode
|
||||
|| EXECUTE_PS_FETCH == mode) {
|
||||
|| EXECUTE_PS_FETCH == mode
|
||||
|| EXECUTE_PL_EXECUTE == mode) {
|
||||
audit_record_.tenant_name_ = const_cast<char *>(get_tenant_name().ptr());
|
||||
audit_record_.tenant_name_len_ = min(get_tenant_name().length(),
|
||||
OB_MAX_TENANT_NAME_LENGTH);
|
||||
|
||||
Reference in New Issue
Block a user