diff options
author | gbichot@quadita2.mysql.com <> | 2005-03-24 14:32:40 +0100 |
---|---|---|
committer | gbichot@quadita2.mysql.com <> | 2005-03-24 14:32:40 +0100 |
commit | 5acca04c7cc6e6a275cf97b11abbd0664ba3df58 (patch) | |
tree | 1c70ef9270a90b0bd16be031467493ef431cad61 /sql/slave.h | |
parent | c9d997b98c44efb98199f49810dbdc2ef5f8beb4 (diff) | |
parent | bd74a139dc37d764d2fd3cbaeb79ff5371a35875 (diff) | |
download | mariadb-git-5acca04c7cc6e6a275cf97b11abbd0664ba3df58.tar.gz |
merge from 4.1
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(); |