mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV#6098 mysqldump sst fails on maria-10.0-galera
* Removed the unnecessary call to wsrep_cleanup_progress_file, which was returning code 1 and eventually causing SST to fail. * Also initialized the unused WSREP_SST_OPT_CONF to avoid error message.
This commit is contained in:
@ -17,6 +17,10 @@
|
||||
|
||||
# This is a reference script for mysqldump-based state snapshot tansfer
|
||||
|
||||
# This variable is not used in mysqldump sst, so better initialize it
|
||||
# to avoid shell's "parameter not set" message.
|
||||
WSREP_SST_OPT_CONF=""
|
||||
|
||||
. $(dirname $0)/wsrep_sst_common
|
||||
|
||||
EINVAL=22
|
||||
@ -119,5 +123,4 @@ else
|
||||
wsrep_log_info "Bypassing state dump."
|
||||
echo $SET_START_POSITION | $MYSQL
|
||||
fi
|
||||
wsrep_cleanup_progress_file
|
||||
#
|
||||
|
||||
|
Reference in New Issue
Block a user