Add PARTITION HIT flag to sql_audit.

This commit is contained in:
obdev
2023-01-28 19:20:26 +08:00
committed by ob-robot
parent fcde80b5d2
commit c24c75ed20
10 changed files with 82 additions and 5 deletions

View File

@ -314,6 +314,7 @@ struct ObAuditRecordData {
plan_hash_ = 0;
trx_lock_for_read_elapse_ = 0;
params_value_len_ = 0;
partition_hit_ = true;
}
int64_t get_elapsed_time() const
@ -432,6 +433,7 @@ struct ObAuditRecordData {
char const* source_; // snapshot's acquire source
} snapshot_; // stmt's tx snapshot
uint64_t txn_free_route_flag_; // flag contains txn free route meta
bool partition_hit_;// flag for need das partition route or not
};
} //namespace sql