Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2be68046
Commit
2be68046
authored
Oct 09, 2021
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-26791 MariaBackup logs compression provider plugins as encryption plugin
parent
b91acd40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
extra/mariabackup/encryption_plugin.cc
extra/mariabackup/encryption_plugin.cc
+4
-5
No files found.
extra/mariabackup/encryption_plugin.cc
View file @
2be68046
...
...
@@ -52,8 +52,7 @@ static void add_to_plugin_load_list(const char *plugin_def)
static
char
XTRABACKUP_EXE
[]
=
"xtrabackup"
;
/*
Read "plugin-load" value (encryption plugin) from backup-my.cnf during
prepare phase.
Read "plugin-load" value from backup-my.cnf during prepare phase.
The value is stored during backup phase.
*/
static
std
::
string
get_encryption_plugin_from_cnf
()
...
...
@@ -191,7 +190,7 @@ void encryption_plugin_prepare_init(int argc, char **argv)
std
::
string
plugin_load
=
get_encryption_plugin_from_cnf
();
if
(
plugin_load
.
size
())
{
msg
(
"Loading
encryption plugin
from %s"
,
plugin_load
.
c_str
());
msg
(
"Loading
plugins
from %s"
,
plugin_load
.
c_str
());
}
else
{
...
...
@@ -221,9 +220,9 @@ static void encryption_plugin_init(int argc, char **argv)
/* Patch optional and mandatory plugins, we only need to load the one in xb_plugin_load. */
mysql_optional_plugins
[
0
]
=
mysql_mandatory_plugins
[
0
]
=
0
;
plugin_maturity
=
MariaDB_PLUGIN_MATURITY_UNKNOWN
;
/* mariabackup accepts all plugins */
msg
(
"Loading
encryption plugin
"
);
msg
(
"Loading
plugins
"
);
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
msg
(
"
\t
Encryption p
lugin parameter : '%s'"
,
argv
[
i
]);
msg
(
"
\t
P
lugin parameter : '%s'"
,
argv
[
i
]);
plugin_init
(
&
argc
,
argv
,
PLUGIN_INIT_SKIP_PLUGIN_TABLE
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment