mariadb/storage/federatedx
Vladislav Vaintroub eba44874ca MDEV-13844 : Fix Windows warnings. Fix DBUG_PRINT.
- Fix win64 pointer truncation warnings
(usually coming from misusing 0x%lx and long cast in DBUG)

- Also fix printf-format warnings

Make the above mentioned warnings fatal.

- fix pthread_join on Windows to set return value.
2017-09-28 17:20:46 +00:00
..
AUTHORS
ChangeLog
CMakeLists.txt CRLF->LF 2015-06-02 22:07:47 +02:00
FAQ
federatedx_io.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
federatedx_io_mysql.cc MDEV-12725 select on federated table crashes server 2017-08-08 22:49:09 +02:00
federatedx_io_null.cc MDEV-5120 Test suite test maria-no-logging fails 2014-10-02 11:57:40 +02:00
federatedx_probes.h
federatedx_txn.cc MDEV-12725 select on federated table crashes server 2017-08-08 22:49:09 +02:00
ha_federatedx.cc MDEV-13844 : Fix Windows warnings. Fix DBUG_PRINT. 2017-09-28 17:20:46 +00:00
ha_federatedx.h MDEV-12725 select on federated table crashes server 2017-08-08 22:49:09 +02:00
README
README.windows CRLF->LF 2015-06-02 22:07:47 +02:00
TODO

This is the FederatedX Storage Engine, developed as an external storage engine.

NOTE:

The following is only relevant if you use it for MySQL.  MariaDB already comes
with the latest version of FederatedX.

To install, grab a copy of the mysql source code and run this:

./configure --with-mysql=/path/to/src/mysql-5.x --libdir=/usr/local/lib/mysql/

make install

And then inside of MySQL:

mysql> INSTALL PLUGIN federatedx SONAME 'libfederatedx_engine.so';

mysql> CREATE TABLE `d` (`a` varchar(125), b text, primary key(a)) ENGINE=FEDERATEDX CONNECTION="mysql://root@host/schema/table"

or 

mysql> CREATE TABLE `d` (`a` varchar(125), b text, primary key(a)) ENGINE=FEDERATEDX CONNECTION="server" CHARSET=latin1;

You will probably need to edit the Makefile.am in the src/ tree if you want
to build on anything other then Linux (and the Makefile assumes that the
server was not compiled for debug). The reason for the two possible
configure lines is that libdir is dependent on where MySQL was installed. If
you run the "INSTALL PLUGIN ..." and you get a file not found, check that
your configured this directory correctly.

For Solaris you can enable DTrace probes by adding to configure
--enable-dtrace