Commit 8ff0ac45 authored by Julius Goryavsky's avatar Julius Goryavsky

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.
parent 1ac4d0c1
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment