mariadb/extra
Alexander Barkov 62d80652be MDEV-29110 mariabackup has wrong or missing plugin-dir default?
Problem:

The file backup-my.cnf from the backup directory was loaded by
"mariabackup --prepare" only in case of the explicit --target-dir given.
It was not loaded from the default directory ./xtrabackup_backupfiles/
in case if the explicit --target-dir was missing.

In other words, it worked as follows:

1. When started as "mariabackup --prepare --target-dir=DIR", mariabackup:
  a. loads defaults from "DIR/backup-my.cnf"
  b. processes data files in the specified directory DIR

2. When started as "mariabackup --prepare", mariabackup:
  a. does not load defaults from "./xtrabackup_backupfiles/backup-my.cnf"
  b. processes data files in the default directory "./xtrabackup_backupfiles/"

This patch fixes the second scenario, so it works as follows:

2. When started as "mariabackup --prepare", mariabackup:
  a. loads defaults from "./xtrabackup_backupfiles/backup-my.cnf"
  b. processes data files in the default directory "./xtrabackup_backupfiles/"

This change fixes (among others) the problem with the
"Can't open shared library '/file_key_management.so'" error
reported when "mariabackup --prepare" is used without --target-dir
in combinaton with the encryption plugin.
2023-11-09 12:37:06 +04:00
..
aws_sdk MDEV-23539: aws key plugin - fails to build 2020-10-26 14:59:42 +11:00
crc32-vpmsum MDEV-21984: POWER crc32 acceleration - fix clang's behavior on versions >= 7 2020-04-13 14:32:10 +03:00
mariabackup MDEV-29110 mariabackup has wrong or missing plugin-dir default? 2023-11-09 12:37:06 +04:00
readline Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
wolfssl wolfssl: enable chacha cyphers and secure negotiation 2023-09-06 22:38:41 +02:00
charset2html.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
CMakeLists.txt Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
comp_err.c Merge 10.2 into 10.3 2020-05-25 19:41:58 +03:00
innochecksum.cc MDEV-31641 innochecksum dies with Floating point exception 2023-07-10 13:46:34 +03:00
my_print_defaults.c Merge 10.3 into 10.4 2021-04-21 07:58:42 +03:00
mysql_waitpid.c Update FSF Address 2019-05-11 21:29:06 +03:00
mysqld_safe_helper.c mysqld_safe_help - remove warning 2017-04-30 15:06:01 +04:00
perror.c MDEV-21062 Buildbot, Windows - sporadically missing lines from mtr's "exec" 2019-11-15 15:39:31 +01:00
replace.c Fix clang-15 -Wdeprecated-non-prototype 2022-07-01 09:34:31 +03:00
resolve_stack_dump.c Merge 10.3 into 10.4 2020-04-22 18:18:51 +03:00
resolveip.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00