summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-09-08 08:33:41 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2017-09-08 08:33:41 +0200
commit18e17f134c38c61ba649ae742ee07bdffeed8dea (patch)
tree9a53f133c2ee8c5c248fc29f7548c484daa70f85 /extra
parentd471469bd2a6de0d8d68343bcf374a382c5bfd92 (diff)
downloadmariadb-git-18e17f134c38c61ba649ae742ee07bdffeed8dea.tar.gz
Windows : Fix MTR's misuse of servers --console parameter
Diffstat (limited to 'extra')
-rw-r--r--extra/mariabackup/xtrabackup.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc
index b775a24a659..65aa913cc29 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -1199,7 +1199,7 @@ static int prepare_export()
" --defaults-extra-file=./backup-my.cnf --datadir=."
" --innodb --innodb-fast-shutdown=0"
" --innodb_purge_rseg_truncate_frequency=1 --innodb-buffer-pool-size=%llu"
- " --console --log-error= --bootstrap < " BOOTSTRAP_FILENAME IF_WIN("\"",""),
+ " --console --skip-log-error --bootstrap < " BOOTSTRAP_FILENAME IF_WIN("\"",""),
mariabackup_exe,
orig_argv1, (my_defaults_group_suffix?my_defaults_group_suffix:""),
xtrabackup_use_memory);
@@ -1228,7 +1228,6 @@ static int prepare_export()
fprintf(stderr,"%s",outline);
err = pclose(outf);
-
end:
unlink(BOOTSTRAP_FILENAME);
return err;
@@ -5028,7 +5027,7 @@ handle_options(int argc, char **argv, char ***argv_client, char ***argv_server)
my_sigset(SIGINT, SIG_DFL);
#endif
- sf_leaking_memory = 0; /* don't report memory leaks on early exist */
+ sf_leaking_memory = 1; /* don't report memory leaks on early exist */
int i;
int ho_error;