diff options
author | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2021-04-07 16:44:30 +0200 |
---|---|---|
committer | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2021-04-11 02:26:52 +0200 |
commit | 8ff0ac45dcc909688c50d93f7575e2084433df30 (patch) | |
tree | e3fc6e828a05e36ae3a893f1fa47012edb4dc85d /extra | |
parent | 1ac4d0c168c3d438752e3a72c79d29a6cbd5a127 (diff) | |
download | mariadb-git-8ff0ac45dcc909688c50d93f7575e2084433df30.tar.gz |
MDEV-25328: --innodb command line option causes mariabackup to fail
This patch fixes an issue with launching mariabackup during SST
(when used with Galera), when during bootstrap mariabackup receives
the "--innodb" option, which is incorrectly interpreted as shortcut
for "--innodb-force-recovery". This patch does not require separate
test for mtr, as the problem is visible in general testing on
buildbot.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mariabackup/xtrabackup.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc index 59551a7d044..0743c8224b0 100644 --- a/extra/mariabackup/xtrabackup.cc +++ b/extra/mariabackup/xtrabackup.cc @@ -6622,6 +6622,8 @@ int main(int argc, char **argv) { char **client_defaults, **server_defaults; + my_getopt_prefix_matching= 0; + if (get_exepath(mariabackup_exe,FN_REFLEN, argv[0])) strncpy(mariabackup_exe,argv[0], FN_REFLEN-1); |