rpl000005.test 554 Bytes
Newer Older
1
source include/master-slave.inc;
2

3 4 5 6 7
#
# Bug#7100 relay_log_space_max missing from SHOW VARIABLES
#
SHOW VARIABLES LIKE 'relay_log_space_limit';

8 9 10 11 12
CREATE TABLE t1 (name varchar(64), age smallint(3));
INSERT INTO  t1 SET name='Andy', age=31;
INSERT t1 SET name='Jacob', age=2;
INSERT into t1 SET name='Caleb', age=1;
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
13
select * from t1;
14
save_master_pos;
15
connection slave;
16
sync_with_master;
17
select * from t1;
18 19
connection master;
drop table t1;
20 21 22
save_master_pos;
connection slave;
sync_with_master;