summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorunknown <gbichot@quadita2.mysql.com>2005-03-24 14:32:40 +0100
committerunknown <gbichot@quadita2.mysql.com>2005-03-24 14:32:40 +0100
commit23da6e5e3161b66286b19f423d8bb0dbae0572ed (patch)
tree1c70ef9270a90b0bd16be031467493ef431cad61 /sql/slave.h
parentb350fefdcabc77c69fb060d088bcb8e259891788 (diff)
parent2621e38bf950879dd339d780d565f44df837c8c4 (diff)
downloadmariadb-git-23da6e5e3161b66286b19f423d8bb0dbae0572ed.tar.gz
merge from 4.1
BitKeeper/etc/logging_ok: auto-union libmysql/Makefile.shared: Auto merged mysql-test/r/rpl_deadlock.result: Auto merged mysql-test/t/rpl_deadlock.test: Auto merged sql/mysqld.cc: Auto merged sql/structs.h: Auto merged sql/slave.cc: merge sql/slave.h: merge sql/sql_show.cc: merge
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 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();