summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorunknown <gbichot@quadita2.mysql.com>2005-03-23 19:50:42 +0100
committerunknown <gbichot@quadita2.mysql.com>2005-03-23 19:50:42 +0100
commit2621e38bf950879dd339d780d565f44df837c8c4 (patch)
tree527265b0366f95b46fcfcbad87d555486f6106ab /sql/slave.h
parentd2ab1393ff8a605dfb7b4a41933a3fbdd12c7777 (diff)
parent6bc324ed215f245eb57c5197b41be7cc3cdaf382 (diff)
downloadmariadb-git-2621e38bf950879dd339d780d565f44df837c8c4.tar.gz
Merge gbichot@bk-internal.mysql.com://home/bk/mysql-4.1
into quadita2.mysql.com:/nfstmp1/guilhem/mysql-4.1-4ita
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h
index fb7560ec738..5a85e26d9ad 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -295,7 +295,14 @@ typedef struct st_relay_log_info
UNTIL_LOG_NAMES_CMP_EQUAL= 0, UNTIL_LOG_NAMES_CMP_GREATER= 1
} until_log_names_cmp_result;
- 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();