Skip to content

Commit 08c493c

Browse files
committed
Merge branch '10.1' into 10.2
2 parents 8898c16 + bcda03b commit 08c493c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/mysqld_safe.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ wsrep_recover_position() {
245245
local euid=$(id -u)
246246
local ret=0
247247

248-
local wr_logfile=$(mktemp wsrep_recovery.XXXXXX)
248+
local wr_logfile=$(mktemp /tmp/wsrep_recovery.XXXXXX)
249249

250250
# safety checks
251251
if [ -z $wr_logfile ]; then
@@ -267,7 +267,7 @@ wsrep_recover_position() {
267267

268268
log_notice "WSREP: Running position recovery with $wr_options"
269269

270-
eval_log_error "$mysqld_cmd --wsrep_recover $wr_options 2> $wr_logfile"
270+
eval "$mysqld_cmd --wsrep_recover $wr_options 2> $wr_logfile"
271271

272272
local rp="$(grep 'WSREP: Recovered position:' $wr_logfile)"
273273
if [ -z "$rp" ]; then

0 commit comments

Comments
 (0)