Commit 03e0f1f8 authored by Nirbhay Choubey's avatar Nirbhay Choubey

MDEV-7053 : WSREP_STATUS & WSREP_MEMBERSHIP I_S tables

Addendum : Renamed plugin .so file.
parent 0b87de12
IF (WITH_WSREP) IF (WITH_WSREP)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql
${CMAKE_SOURCE_DIR}/wsrep) ${CMAKE_SOURCE_DIR}/wsrep)
MYSQL_ADD_PLUGIN(WSREP_STATUS plugin.cc MODULE_ONLY) MYSQL_ADD_PLUGIN(WSREP_INFO plugin.cc MODULE_ONLY)
ENDIF() ENDIF()
--plugin-load-add=$WSREP_STATUS_SO --plugin-load-add=$WSREP_INFO_SO
package My::Suite::WSREP_STATUS; package My::Suite::WSREP_INFO;
use File::Basename; use File::Basename;
use My::Find; use My::Find;
...@@ -14,7 +14,7 @@ my ($provider) = grep { -f $_ } $ENV{WSREP_PROVIDER}, ...@@ -14,7 +14,7 @@ my ($provider) = grep { -f $_ } $ENV{WSREP_PROVIDER},
return "No wsrep provider library" unless -f $provider; return "No wsrep provider library" unless -f $provider;
return "No WSREP_STATUS plugin" unless $ENV{WSREP_STATUS_SO}; return "No WSREP_INFO plugin" unless $ENV{WSREP_INFO_SO};
$ENV{WSREP_PROVIDER} = $provider; $ENV{WSREP_PROVIDER} = $provider;
......
...@@ -231,7 +231,7 @@ static struct st_mysql_information_schema wsrep_status_plugin= ...@@ -231,7 +231,7 @@ static struct st_mysql_information_schema wsrep_status_plugin=
Plugin library descriptor Plugin library descriptor
*/ */
maria_declare_plugin(wsrep_status) maria_declare_plugin(wsrep_info)
{ {
MYSQL_INFORMATION_SCHEMA_PLUGIN, MYSQL_INFORMATION_SCHEMA_PLUGIN,
&wsrep_memb_plugin, &wsrep_memb_plugin,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment