3
# Change Date: 2006-01-17
4
# Change: Added order by in select
6
# Change Date: 2006-02-02
7
# Change: renamed to make bettre sense,
8
# and wrapped per Engine test
9
############################
10
source include/master-slave.inc;
13
# Bug#7100 relay_log_space_max missing from SHOW VARIABLES
15
SHOW VARIABLES LIKE 'relay_log_space_limit';
17
# Matz says: I have no idea what this is supposed to test, but it has
18
# potential for generating different results with some storage engines
19
# that process rows in an order not dependent on the insertion order.
20
# For instance, I would assume that distributed storage engines (like
21
# NDB) could process rows based on locality.
23
eval CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=$engine_type;
24
INSERT INTO t1 SET name='Andy', age=31;
25
INSERT INTO t1 SET name='Jacob', age=2;
26
INSERT INTO t1 SET name='Caleb', age=1;
27
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
28
SELECT * FROM t1 ORDER BY id;
29
sync_slave_with_master;
30
SELECT * FROM t1 ORDER BY id;
33
sync_slave_with_master;