Compile user_variables plugin statically

Recompile it for embedded.
Test it for embedded.
Promote it to Gamma
This commit is contained in:
Sergei Golubchik 2017-04-16 07:05:19 -04:00
parent 0072d2e9a1
commit 54e24fcbd5
5 changed files with 6 additions and 5 deletions

View file

@ -56,7 +56,6 @@ usr/lib/mysql/plugin/semisync_slave.so
usr/lib/mysql/plugin/server_audit.so
usr/lib/mysql/plugin/simple_password_check.so
usr/lib/mysql/plugin/sql_errlog.so
usr/lib/mysql/plugin/user_variables.so
usr/lib/mysql/plugin/wsrep_info.so
usr/share/apport/package-hooks/source_mariadb-10.2.py
usr/share/doc/mariadb-server-10.2/mysqld.sym.gz

View file

@ -1 +1,2 @@
MYSQL_ADD_PLUGIN(user_variables user_variables.cc)
MYSQL_ADD_PLUGIN(user_variables user_variables.cc
DEFAULT RECOMPILE_FOR_EMBEDDED)

View file

@ -7,7 +7,7 @@ PLUGIN_AUTHOR Sergey Vojtovich
PLUGIN_DESCRIPTION User-defined variables
PLUGIN_LICENSE GPL
LOAD_OPTION ON
PLUGIN_MATURITY Alpha
PLUGIN_MATURITY Gamma
SHOW CREATE TABLE INFORMATION_SCHEMA.USER_VARIABLES;
Table Create Table
user_variables CREATE TEMPORARY TABLE `user_variables` (

View file

@ -6,7 +6,8 @@ return "No USER_VARIABLES plugin" unless
$ENV{USER_VARIABLES_SO} or
$::mysqld_variables{'user-variables'} eq "ON";
return "Not run for embedded server" if $::opt_embedded_server;
return "Not run for embedded server" if $::opt_embedded_server and
$ENV{USER_VARIABLES_SO};
sub is_default { 1 }

View file

@ -134,6 +134,6 @@ maria_declare_plugin(user_variables)
NULL,
NULL,
"1.0",
MariaDB_PLUGIN_MATURITY_ALPHA
MariaDB_PLUGIN_MATURITY_GAMMA
}
maria_declare_plugin_end;