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.cc | |
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.cc')
-rw-r--r-- | sql/slave.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 092fb40d9d9..b1763187d04 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -40,7 +40,8 @@ HASH replicate_do_table, replicate_ignore_table; DYNAMIC_ARRAY replicate_wild_do_table, replicate_wild_ignore_table; bool do_table_inited = 0, ignore_table_inited = 0; bool wild_do_table_inited = 0, wild_ignore_table_inited = 0; -bool table_rules_on= 0, replicate_same_server_id; +bool table_rules_on= 0; +my_bool replicate_same_server_id; ulonglong relay_log_space_limit = 0; /* |