WL#3868: startup parameters for INSTALL PLUGIN

Affects: Server-6.x — Status: In-Design — Priority: Low

currently, INSTALL PLUGIN always installs a plugin with all parameters having
default values. It doesn't always work, for example InnoDB needs to know
innodb_home_data_dir, otherwise it won't work.

We will support parameters, similar to command line or server variables, in the
INSTALL PLUGIN.
The syntax will be


INSTALL PLUGIN pluginname SONAME "soname"
[SET var1=val1[, var2=val2[, ...]]] ;


the parser will put these name=value pairs into an array. The sql_plugin.cc will
use my_getopt to parse this array and assign values to command-line parameters.

On mysqld shutdown these values are lost, as SET values always do. One should
use my.cnf for settings that should persist.

Also we could re-read my.cnf on every INSTALL PLUGIN and pick the relevant
options from there.

You must be logged in to tag this worklog

No Comments yet

Votes

Not yet rated.
You must be logged in to vote.

Watches

1 members are watching this worklog
You must be logged in to track this worklog.

Provide Feedback

Please note:
HTML will be purified, but we allow for a number of HTML tags so that you have the flexibility to decorate your comment text to some extent. The comments allow the following HTML tags:

strong, b, em, blockquote, a, code, pre

To put code into your comment, simply encapsulate your code with
[code language="XXX"][/code], where XXX is any common language, for instance "PHP", "SQL", "C", etc.



You must be logged in to comment