mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
fb175a1beb
NOTE: Backport of: bzr log -r revid:sp1r-serg@sergbook.mysql.com-20070505200319-38337 ------------------------------------------------------------ revno: 2469.263.4 committer: serg@sergbook.mysql.com timestamp: Sat 2007-05-05 13:03:19 -0700 message: Removing deprecated features: --master-XXX command-line options log_bin_trust_routine_creators table_type BACKUP TABLE ... RESTORE TABLE ... SHOW PLUGIN LOAD TABLE ... FROM MASTER LOAD DATA FROM MASTER SHOW INNODB STATUS SHOW MUTEX STATUS SHOW TABLE TYPES ... TIMESTAMP(N) ... TYPE=engine RESET SLAVE don't reset connection parameters anymore LOAD DATA: check opt_secure_file_priv before access(filename) improved WARN_DEPRECATED macro
19 lines
525 B
PHP
19 lines
525 B
PHP
# Replication tests need binlog
|
|
#
|
|
# $skip_slave_start If true, the slave will not be started
|
|
source include/have_log_bin.inc;
|
|
|
|
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,);
|
|
|
|
-- source include/master-slave-reset.inc
|
|
|
|
if (!$skip_slave_start) {
|
|
connection master;
|
|
sync_slave_with_master;
|
|
}
|
|
|
|
# Set the default connection to 'master'
|
|
connection master;
|