summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorjani@ua141d10.elisa.omakaista.fi <>2005-10-04 19:52:12 +0300
committerjani@ua141d10.elisa.omakaista.fi <>2005-10-04 19:52:12 +0300
commit4099872e2c5be2657307a51684690f9ec5c179a0 (patch)
tree5a10dd42a5c2116a3cfdb703587b07db9fbea256 /sql/slave.h
parent17e87da29803a46e267abecd3a7f8fe1210adfaa (diff)
downloadmariadb-git-4099872e2c5be2657307a51684690f9ec5c179a0.tar.gz
Fixed several boolean type options used in my_long_options[].
Some options were declared as 'bool', but since those are being handled in my_getopt.c, bool can be machine dependent. To make sure it works in all circumstances, the type should be my_bool for C (not C++) programs.
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h
index c41234ab2ed..f8e784bfd17 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -581,7 +581,8 @@ extern HASH replicate_do_table, replicate_ignore_table;
extern DYNAMIC_ARRAY replicate_wild_do_table, replicate_wild_ignore_table;
extern bool do_table_inited, ignore_table_inited,
wild_do_table_inited, wild_ignore_table_inited;
-extern bool table_rules_on, replicate_same_server_id;
+extern bool table_rules_on;
+extern my_bool replicate_same_server_id;
extern int disconnect_slave_event_count, abort_slave_event_count ;