diff options
author | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-10-04 19:52:12 +0300 |
---|---|---|
committer | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-10-04 19:52:12 +0300 |
commit | b2fa7d16c2df3c9212f52c29e549b7e893fc8662 (patch) | |
tree | 5a10dd42a5c2116a3cfdb703587b07db9fbea256 /sql/slave.h | |
parent | dee0ea4b6c93ab7550e39293655f1b3b65cc3b7c (diff) | |
download | mariadb-git-b2fa7d16c2df3c9212f52c29e549b7e893fc8662.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.
sql/mysql_priv.h:
Fixed some bools to my_bools.
sql/mysqld.cc:
Changed several bools to my_bools.
sql/slave.cc:
Changed bool to my_bool.
sql/slave.h:
Changed bool to my_bool.
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 3 |
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 ; |