mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
allow federated and innodb_plugin to be built
storage/federated/Makefile.am: federated needs functions from mysys/string.c. mysqld does not use them, so they don't get into the binary. storage/federated/plug.in: enable federated again. remove it from all configurations. storage/federatedx/Makefile.am: federatedx is now called federatedx in configure storage/federatedx/ha_federatedx.cc: federatedx is now called federatedx in configure storage/federatedx/plug.in: federatedx is now called federatedx in configure storage/innodb_plugin/plug.in: enable innodb plugin again. remove it from all configurations. storage/xtradb/CMakeLists.txt: xtradb is now called xtradb in configure, and builds libxtradb.a and ha_xtradb.so storage/xtradb/Makefile.am: xtradb is now called xtradb in configure, and builds libxtradb.a and ha_xtradb.so storage/xtradb/handler/ha_innodb.cc: xtradb is now called xtradb in configure, and builds libxtradb.a and ha_xtradb.so storage/xtradb/plug.in: xtradb is now called xtradb in configure, and builds libxtradb.a and ha_xtradb.so
This commit is contained in:
parent
c00c1b767e
commit
14e53d0668
10 changed files with 35 additions and 38 deletions
|
|
@ -18,14 +18,14 @@ DEFS = @DEFS@
|
|||
noinst_HEADERS = ha_federatedx.h federatedx_probes.h
|
||||
|
||||
EXTRA_LTLIBRARIES = ha_federatedx.la
|
||||
pkgplugin_LTLIBRARIES = @plugin_federated_shared_target@
|
||||
pkgplugin_LTLIBRARIES = @plugin_federatedx_shared_target@
|
||||
ha_federatedx_la_LDFLAGS = -module -rpath $(pkgplugindir)
|
||||
ha_federatedx_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
|
||||
ha_federatedx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
|
||||
|
||||
|
||||
EXTRA_LIBRARIES = libfederatedx.a
|
||||
noinst_LIBRARIES = @plugin_federated_static_target@
|
||||
noinst_LIBRARIES = @plugin_federatedx_static_target@
|
||||
libfederatedx_a_CXXFLAGS = $(AM_CFLAGS)
|
||||
libfederatedx_a_CFLAGS = $(AM_CFLAGS)
|
||||
libfederatedx_a_SOURCES= ha_federatedx.cc federatedx_txn.cc \
|
||||
|
|
|
|||
|
|
@ -3495,7 +3495,7 @@ int ha_federatedx::rollback(handlerton *hton, MYSQL_THD thd, bool all)
|
|||
struct st_mysql_storage_engine federatedx_storage_engine=
|
||||
{ MYSQL_HANDLERTON_INTERFACE_VERSION };
|
||||
|
||||
mysql_declare_plugin(federated)
|
||||
mysql_declare_plugin(federatedx)
|
||||
{
|
||||
MYSQL_STORAGE_ENGINE_PLUGIN,
|
||||
&federatedx_storage_engine,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
MYSQL_STORAGE_ENGINE(federated,,[FederatedX Storage Engine],
|
||||
MYSQL_STORAGE_ENGINE(federatedx,,[FederatedX Storage Engine],
|
||||
[FederatedX Storage Engine], [max,max-no-ndb])
|
||||
MYSQL_PLUGIN_DYNAMIC(federated, [ha_federatedx.la])
|
||||
MYSQL_PLUGIN_STATIC(federated, [libfederatedx.a])
|
||||
MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(federated, [ha_federatedx.cc])
|
||||
MYSQL_PLUGIN_DYNAMIC(federatedx, [ha_federatedx.la])
|
||||
MYSQL_PLUGIN_STATIC(federatedx, [libfederatedx.a])
|
||||
MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(federatedx, [ha_federatedx.cc])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue