summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorVesa Pentti <vesa.pentti@mariadb.net>2017-11-24 21:56:13 +0000
committerVesa Pentti <vesa.pentti@mariadb.net>2017-12-04 21:12:35 +0000
commit1af2d7ba235305ffd4c24a47cccafd5fe6815d9e (patch)
treec58ce59cec4b8f8275c3a220bf4151174ec8e0d8 /extra
parent60c446584c614f19f9adc9cc38a31954359009d5 (diff)
downloadmariadb-git-1af2d7ba235305ffd4c24a47cccafd5fe6815d9e.tar.gz
MDEV-12501 -- set --maturity-level by default
* Note: breaking change; since this commit, a plugin that has worked so far might get rejected due to plugin maturity * mariabackup is not affected (allows all plugins) * VERSION file defines SERVER_MATURITY, which defines the corresponding numeric value as SERVER_MATURITY_LEVEL in include/mysql_version.h * The default value for 'plugin_maturity' is SERVER_MATURITY_LEVEL - 1 * Logs a warning if a plugin has maturity lower than SERVER_MATURITY_LEVEL * Tests suppress the plugin maturity warning * Tests use --plugin-maturity=unknown by default so as not to fail due to the stricter plugin maturity handling
Diffstat (limited to 'extra')
-rw-r--r--extra/mariabackup/encryption_plugin.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/mariabackup/encryption_plugin.cc b/extra/mariabackup/encryption_plugin.cc
index b88c149673b..7f230256e7a 100644
--- a/extra/mariabackup/encryption_plugin.cc
+++ b/extra/mariabackup/encryption_plugin.cc
@@ -165,6 +165,7 @@ 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\n");
for (int i= 1; i < argc; i++)
msg("\t Encryption plugin parameter : '%s'\n", argv[i]);