~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/extra/rpl_tests/rpl_sv_relay_space.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
# Change Author: JBM
 
3
# Change Date: 2006-01-17
 
4
# Change: Added order by in select
 
5
####################
 
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;
 
11
 
 
12
#
 
13
# Bug#7100 relay_log_space_max missing from SHOW VARIABLES
 
14
#
 
15
SHOW VARIABLES LIKE 'relay_log_space_limit';
 
16
 
 
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.
 
22
 
 
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;
 
31
connection master;
 
32
DROP TABLE t1;
 
33
sync_slave_with_master;
 
34
 
 
35
# End of 4.1 tests