diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-11-11 09:31:20 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-11-11 09:31:20 +0100 |
commit | 80a523dbfbeab628a98391d77656442d58ae15a4 (patch) | |
tree | 6ad4ee1302ec05afd756e80a6352c5a093fa96e5 /client | |
parent | feea10a453db89f9ea3df870caf0efb373362274 (diff) | |
download | mariadb-git-80a523dbfbeab628a98391d77656442d58ae15a4.tar.gz |
MDEV-5116 MariaDB upgrade breaks replication
mysql_upgrade should do --skip-write-binlog by default
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql_upgrade.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c index c6aaf38179f..9e39b7273ea 100644 --- a/client/mysql_upgrade.c +++ b/client/mysql_upgrade.c @@ -156,11 +156,10 @@ static struct my_option my_long_options[]= "version\' of the program is the version of the MySQL server with which it " "was built/distributed.", &opt_version_check, &opt_version_check, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0}, - {"write-binlog", OPT_WRITE_BINLOG, - "All commands including mysqlcheck are binlogged. Enabled by default;" - "use --skip-write-binlog when commands should not be sent to replication slaves.", + {"write-binlog", OPT_WRITE_BINLOG, "All commands including those, " + "issued by mysqlcheck, are written to the binary log.", &opt_write_binlog, &opt_write_binlog, 0, GET_BOOL, NO_ARG, - 1, 0, 0, 0, 0, 0}, + 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} }; |