Skip to content

Commit

Permalink
MDEV-25328: --innodb command line option causes mariabackup to fail
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sysprg committed Apr 11, 2021
1 parent 1ac4d0c commit 8ff0ac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extra/mariabackup/xtrabackup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8ff0ac4

Please sign in to comment.