~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_binlog_index.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include/master-slave.inc
 
2
[connection master]
 
3
CREATE TABLE t1 (a INT);
 
4
FLUSH BINARY LOGS;
 
5
INSERT INTO t1 VALUES (1);
 
6
# Shutdown master
 
7
include/rpl_stop_server.inc [server_number=1]
 
8
# Move the master binlog files and the index file to a new place
 
9
# Restart master with log-bin option set to the new path
 
10
# Master has restarted successfully
 
11
# Create the master-bin.index file with the old format
 
12
# Shutdown master
 
13
include/rpl_stop_server.inc [server_number=1]
 
14
# Move back the master binlog files
 
15
# Remove the unneeded master-bin.index file
 
16
# Restart master with log-bin option set to default
 
17
# Master has restarted successfully
 
18
# stop slave
 
19
include/stop_slave.inc
 
20
include/rpl_stop_server.inc [server_number=2]
 
21
# relocate  binlogs
 
22
# relocate  relay logs
 
23
# Restart slave with options log-bin, relay-log set to the new paths
 
24
# Slave server has restarted successfully
 
25
include/start_slave.inc
 
26
include/stop_slave.inc
 
27
FLUSH LOGS;
 
28
INSERT INTO t1 VALUES (2);
 
29
INSERT INTO t1 VALUES (2);
 
30
INSERT INTO t1 VALUES (2);
 
31
INSERT INTO t1 VALUES (2);
 
32
FLUSH LOGS;
 
33
FLUSH LOGS;
 
34
include/start_slave.inc
 
35
include/diff_tables.inc [master:t1,slave:t1]
 
36
DROP TABLE t1;
 
37
include/stop_slave.inc
 
38
include/rpl_stop_server.inc [server_number=2]
 
39
# remove tmpdir
 
40
# restarted with previous slave settings
 
41
include/start_slave.inc
 
42
include/rpl_end.inc