Debian Codegraph @

mysql-test/suite/rpl/include/rpl_sv_relay_space.test

raw
1 source include/master-slave.inc;
2
3 #
4 # Bug#7100 relay_log_space_max missing from SHOW VARIABLES
5 #
6 SHOW VARIABLES LIKE 'relay_log_space_limit';
7
8 # Matz says: I have no idea what this is supposed to test, but it has
9 # potential for generating different results with some storage engines
10 # that process rows in an order not dependent on the insertion order.
11
12 eval CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=$engine_type;
13 INSERT INTO t1 SET name='Andy', age=31;
14 INSERT INTO t1 SET name='Jacob', age=2;
15 INSERT INTO t1 SET name='Caleb', age=1;
16 ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY,
17 ALGORITHM=COPY;
18 SELECT * FROM t1 ORDER BY id;
19 sync_slave_with_master;
20 SELECT * FROM t1 ORDER BY id;
21 connection master;
22 DROP TABLE t1;
23
24 --source include/rpl_end.inc