diff options
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h index bc41cd4deca..c41234ab2ed 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -293,7 +293,14 @@ typedef struct st_relay_log_info } until_log_names_cmp_result; char cached_charset[6]; - ulong trans_retries; + /* + trans_retries varies between 0 to slave_transaction_retries and counts how + many times the slave has retried the present transaction; gets reset to 0 + when the transaction finally succeeds. retried_trans is a cumulative + counter: how many times the slave has retried a transaction (any) since + slave started. + */ + ulong trans_retries, retried_trans; st_relay_log_info(); ~st_relay_log_info(); |