add more info to sql audit snapshot source field

This commit is contained in:
felix-w15
2024-01-05 10:12:45 +00:00
committed by ob-robot
parent 91b686ae2e
commit 1682d1019d
10 changed files with 58 additions and 12 deletions

View File

@ -332,7 +332,7 @@ struct ObAuditRecordData {
ObString get_snapshot_source() const
{
return ObString(snapshot_.source_);
return ObString(snapshot_source_);
}
int16_t seq_; //packet->get_packet_header().seq_; always 0 currently
@ -404,6 +404,7 @@ struct ObAuditRecordData {
bool partition_hit_;// flag for need das partition route or not
bool is_perf_event_closed_;
char flt_trace_id_[OB_MAX_UUID_STR_LENGTH + 1];
char snapshot_source_[OB_MAX_SNAPSHOT_SOURCE_LENGTH + 1];
};
} //namespace sql