| 242 | } |
| 243 | |
| 244 | static void encryption_plugin_init(int argc, char **argv) |
| 245 | { |
| 246 | /* Patch optional and mandatory plugins, we only need to load the one in xb_plugin_load. */ |
| 247 | mysql_optional_plugins[0] = mysql_mandatory_plugins[0] = 0; |
| 248 | plugin_maturity = MariaDB_PLUGIN_MATURITY_UNKNOWN; /* mariabackup accepts all plugins */ |
| 249 | msg("Loading encryption plugin"); |
| 250 | for (int i= 1; i < argc; i++) |
| 251 | msg("\t Encryption plugin parameter : '%s'", argv[i]); |
| 252 | plugin_init(&argc, argv, PLUGIN_INIT_SKIP_PLUGIN_TABLE); |
| 253 | } |
| 254 | |
| 255 | |
| 256 | /* |
no test coverage detected