2007-09-05 18:02:46 +02:00
|
|
|
# Replication tests need binlog
|
|
|
|
source include/have_log_bin.inc;
|
|
|
|
|
2007-06-18 15:36:10 +02:00
|
|
|
connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
|
|
|
connect (master1,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
|
|
|
connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,);
|
|
|
|
connect (slave1,127.0.0.1,root,,test,$SLAVE_MYPORT,);
|
|
|
|
|
|
|
|
connection slave;
|
2007-07-13 22:21:19 +02:00
|
|
|
# Check that server is compiled and started with support for NDB
|
|
|
|
disable_query_log;
|
|
|
|
--require r/true.require
|
2007-07-13 22:45:05 +02:00
|
|
|
select (support = 'YES' or support = 'DEFAULT') as `TRUE` from information_schema.engines where engine = 'ndbcluster';
|
2007-07-13 22:21:19 +02:00
|
|
|
--source include/ndb_not_readonly.inc
|
|
|
|
enable_query_log;
|
2007-06-18 15:36:10 +02:00
|
|
|
|
|
|
|
-- source include/master-slave-reset.inc
|
|
|
|
|
|
|
|
# Set the default connection to 'master'
|
|
|
|
connection master;
|