~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include/master-slave.inc
 
2
Warnings:
 
3
Note    ####    Sending passwords in plain text without SSL/TLS is extremely insecure.
 
4
Note    ####    Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
 
5
[connection master]
 
6
call mtr.add_suppression ("Slave I/O: Got fatal error 1236 from master when reading data from binary");
 
7
show master status;
 
8
File    Position        Binlog_Do_DB    Binlog_Ignore_DB        Executed_Gtid_Set
 
9
master-bin.000001       #       <Binlog_Do_DB>  <Binlog_Ignore_DB>      <Executed_Gtid_Set>
 
10
include/stop_slave.inc
 
11
change master to master_log_pos=MASTER_LOG_POS;
 
12
Read_Master_Log_Pos = '75'
 
13
start slave;
 
14
include/wait_for_slave_io_error.inc [errno=1236]
 
15
Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary log: 'binlog truncated in the middle of event; consider out of disk space on master; the first event 'master-bin.000001' at XXX, the last event read from './master-bin.000001' at XXX, the last byte read from './master-bin.000001' at XXX.''
 
16
include/stop_slave_sql.inc
 
17
show master status;
 
18
File    Position        Binlog_Do_DB    Binlog_Ignore_DB        Executed_Gtid_Set
 
19
master-bin.000001       #       <Binlog_Do_DB>  <Binlog_Ignore_DB>      <Executed_Gtid_Set>
 
20
create table if not exists t1 (n int);
 
21
drop table if exists t1;
 
22
create table t1 (n int);
 
23
insert into t1 values (1),(2),(3);
 
24
change master to master_log_pos=MASTER_LOG_POS;
 
25
start slave;
 
26
select * from t1 ORDER BY n;
 
27
n
 
28
1
 
29
2
 
30
3
 
31
drop table t1;
 
32
End of 5.0 tests
 
33
include/rpl_end.inc