初版
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--source include/not_embedded.inc
|
||||
--source suite/federated/include/have_federated_db.inc
|
||||
|
||||
connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
||||
connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,);
|
||||
|
||||
connection master;
|
||||
CREATE DATABASE federated;
|
||||
|
||||
connection slave;
|
||||
CREATE DATABASE federated;
|
||||
@@ -0,0 +1,9 @@
|
||||
connection master;
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS federated.t1;
|
||||
DROP DATABASE federated;
|
||||
|
||||
connection slave;
|
||||
DROP TABLE IF EXISTS federated.t1;
|
||||
DROP DATABASE federated;
|
||||
--enable_warnings
|
||||
@@ -0,0 +1,6 @@
|
||||
if (!`SELECT count(*) FROM information_schema.engines WHERE
|
||||
(support = 'YES' OR support = 'DEFAULT') AND
|
||||
engine = 'federated'`)
|
||||
{
|
||||
skip Need federated engine;
|
||||
}
|
||||
Reference in New Issue
Block a user