diff options
author | Martynas Bendorius <martynas@martynas.it> | 2017-10-01 15:45:51 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-12-18 16:41:40 +0100 |
commit | 1c2f59f7fbacc0fa7c4037bf03630f849859ad45 (patch) | |
tree | 45cc33c05bbc647e8e543abc33a42b50eee38f8c /scripts/wsrep_sst_mysqldump.sh | |
parent | f32063c5137adc028a9b038b9e99f9384e583d0b (diff) | |
download | mariadb-git-1c2f59f7fbacc0fa7c4037bf03630f849859ad45.tar.gz |
MDEV-13969 sst mysqldump and xtrabackup-v2 handle WSREP_SST_OPT_CONF incorrectly
wrep_sst_common: Setting "-c ''" for my_print_defaults just takes no values from config at all. $MY_PRINT_DEFAULTS is already set at the top of the script to have --defaults-file and --defaults-extra-file. If WSREP_SST_OPT_CONF if set to "--defaults-file=/etc/my.cnf --defaults-extra-file=/etc/my.extra.cnf", then "my_print_defaults -c "" --defaults-file=/etc/my.cnf" succeeds, but if WSREP_SST_OPT_CONF is empty - no default values are taken at all.
wsrep_sst_xtrabackup-v2: innobackupex does not support --defaults-extra-file, so ${WSREP_SST_OPT_CONF} cannot be used as an argument, it has been changed to ${WSREP_SST_OPT_DEFAULT}. Removed --defaults-file= from INNOMOVE line, because WSREP_SST_OPT_CONF already includes it (INNOBACKUP was fine, INNOMOVE - not).
Diffstat (limited to 'scripts/wsrep_sst_mysqldump.sh')
0 files changed, 0 insertions, 0 deletions