summaryrefslogtreecommitdiff
path: root/plugin/semisync/semisync_master.cc
diff options
context:
space:
mode:
authorHe Zhenxing <zhenxing.he@sun.com>2009-10-03 13:00:05 +0800
committerHe Zhenxing <zhenxing.he@sun.com>2009-10-03 13:00:05 +0800
commitd8b4e637a07cea438c03747e33a7d82a18aa5e71 (patch)
tree435b1fd403249cb432ba1b0c8f2eaeaca4cb078b /plugin/semisync/semisync_master.cc
parent04c6e8ff0746baa14c0017e2f37e2e2f77786a2b (diff)
downloadmariadb-git-d8b4e637a07cea438c03747e33a7d82a18aa5e71.tar.gz
Fix semisync master/slave status always showed as OFF on sparc
On sparc, semisync master/slave status is always showed as OFF, this is fixed by change rpl_semisync_master/slave_status variables from long to char.
Diffstat (limited to 'plugin/semisync/semisync_master.cc')
-rw-r--r--plugin/semisync/semisync_master.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/semisync/semisync_master.cc b/plugin/semisync/semisync_master.cc
index b3454c49829..3641b658268 100644
--- a/plugin/semisync/semisync_master.cc
+++ b/plugin/semisync/semisync_master.cc
@@ -25,7 +25,7 @@
char rpl_semi_sync_master_enabled;
unsigned long rpl_semi_sync_master_timeout;
unsigned long rpl_semi_sync_master_trace_level;
-unsigned long rpl_semi_sync_master_status = 0;
+char rpl_semi_sync_master_status = 0;
unsigned long rpl_semi_sync_master_yes_transactions = 0;
unsigned long rpl_semi_sync_master_no_transactions = 0;
unsigned long rpl_semi_sync_master_off_times = 0;