mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-7604: wsrep plugin lists its plugin_maturity as Unknown
Changed wsrep plugin from mysql_plugin to maria_plugin to set up plugin_maturity to Stable.
This commit is contained in:
3
mysql-test/suite/wsrep/r/plugin.result
Normal file
3
mysql-test/suite/wsrep/r/plugin.result
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SELECT plugin_name,plugin_version,plugin_maturity FROM information_schema.plugins where plugin_name like 'wsrep' ORDER BY plugin_maturity,plugin_name;
|
||||||
|
plugin_name plugin_version plugin_maturity
|
||||||
|
wsrep 1.0 Stable
|
7
mysql-test/suite/wsrep/t/plugin.test
Normal file
7
mysql-test/suite/wsrep/t/plugin.test
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--source include/have_wsrep.inc
|
||||||
|
|
||||||
|
#
|
||||||
|
# MDEV-7604: wsrep plugin lists its status as Unknown
|
||||||
|
#
|
||||||
|
|
||||||
|
SELECT plugin_name,plugin_version,plugin_maturity FROM information_schema.plugins where plugin_name like 'wsrep' ORDER BY plugin_maturity,plugin_name;
|
@ -561,7 +561,7 @@ struct st_mysql_storage_engine wsrep_storage_engine=
|
|||||||
{ MYSQL_HANDLERTON_INTERFACE_VERSION };
|
{ MYSQL_HANDLERTON_INTERFACE_VERSION };
|
||||||
|
|
||||||
|
|
||||||
mysql_declare_plugin(wsrep)
|
maria_declare_plugin(wsrep)
|
||||||
{
|
{
|
||||||
MYSQL_STORAGE_ENGINE_PLUGIN,
|
MYSQL_STORAGE_ENGINE_PLUGIN,
|
||||||
&wsrep_storage_engine,
|
&wsrep_storage_engine,
|
||||||
@ -575,7 +575,7 @@ mysql_declare_plugin(wsrep)
|
|||||||
0x0100 /* 1.0 */,
|
0x0100 /* 1.0 */,
|
||||||
NULL, /* status variables */
|
NULL, /* status variables */
|
||||||
NULL, /* system variables */
|
NULL, /* system variables */
|
||||||
NULL, /* config options */
|
"1.0", /* string version */
|
||||||
0, /* flags */
|
MariaDB_PLUGIN_MATURITY_STABLE /* maturity */
|
||||||
}
|
}
|
||||||
mysql_declare_plugin_end;
|
maria_declare_plugin_end;
|
||||||
|
Reference in New Issue
Block a user