Skip to content

Commit 2be6804

Browse files
committed
MDEV-26791 MariaBackup logs compression provider plugins as encryption plugin
1 parent b91acd4 commit 2be6804

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

extra/mariabackup/encryption_plugin.cc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ static void add_to_plugin_load_list(const char *plugin_def)
5252
static char XTRABACKUP_EXE[] = "xtrabackup";
5353

5454
/*
55-
Read "plugin-load" value (encryption plugin) from backup-my.cnf during
56-
prepare phase.
55+
Read "plugin-load" value from backup-my.cnf during prepare phase.
5756
The value is stored during backup phase.
5857
*/
5958
static std::string get_encryption_plugin_from_cnf()
@@ -191,7 +190,7 @@ void encryption_plugin_prepare_init(int argc, char **argv)
191190
std::string plugin_load= get_encryption_plugin_from_cnf();
192191
if (plugin_load.size())
193192
{
194-
msg("Loading encryption plugin from %s", plugin_load.c_str());
193+
msg("Loading plugins from %s", plugin_load.c_str());
195194
}
196195
else
197196
{
@@ -221,9 +220,9 @@ static void encryption_plugin_init(int argc, char **argv)
221220
/* Patch optional and mandatory plugins, we only need to load the one in xb_plugin_load. */
222221
mysql_optional_plugins[0] = mysql_mandatory_plugins[0] = 0;
223222
plugin_maturity = MariaDB_PLUGIN_MATURITY_UNKNOWN; /* mariabackup accepts all plugins */
224-
msg("Loading encryption plugin");
223+
msg("Loading plugins");
225224
for (int i= 1; i < argc; i++)
226-
msg("\t Encryption plugin parameter : '%s'", argv[i]);
225+
msg("\t Plugin parameter : '%s'", argv[i]);
227226
plugin_init(&argc, argv, PLUGIN_INIT_SKIP_PLUGIN_TABLE);
228227
}
229228

0 commit comments

Comments
 (0)