mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
19 lines
717 B
Text
19 lines
717 B
Text
CREATE TABLE t2(a int);
|
|
CREATE TABLE t1(a int) ENGINE=FEDERATED
|
|
CONNECTION='mysql://root@localhost:$MASTER_MYPORT/test/t2';
|
|
Warnings:
|
|
Warning 1286 Unknown storage engine 'FEDERATED'
|
|
Warning 1266 Using storage engine MyISAM for table 't1'
|
|
DROP TABLE t1;
|
|
INSTALL PLUGIN federated SONAME 'FEDERATED_PLUGIN';
|
|
INSTALL PLUGIN FEDERATED SONAME 'FEDERATED_PLUGIN';
|
|
ERROR HY000: Function 'FEDERATED' already exists
|
|
UNINSTALL PLUGIN federated;
|
|
INSTALL PLUGIN federated SONAME 'FEDERATED_PLUGIN';
|
|
CREATE TABLE t1(a int) ENGINE=FEDERATED
|
|
CONNECTION='mysql://root@localhost:$MASTER_MYPORT/test/t2';
|
|
DROP TABLE t1;
|
|
UNINSTALL PLUGIN federated;
|
|
UNINSTALL PLUGIN federated;
|
|
ERROR 42000: PLUGIN federated does not exist
|
|
DROP TABLE t2;
|