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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_stm_000001.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("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
 
7
call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
 
8
create table t1 (word char(20) not null);
 
9
load data infile '../../std_data/words.dat' into table t1;
 
10
load data local infile 'MYSQL_TEST_DIR/std_data/words.dat' into table t1;
 
11
select * from t1 limit 10;
 
12
word
 
13
Aarhus
 
14
Aaron
 
15
Ababa
 
16
aback
 
17
abaft
 
18
abandon
 
19
abandoned
 
20
abandoning
 
21
abandonment
 
22
abandons
 
23
stop slave;
 
24
set password for root@"localhost" = password('foo');
 
25
start slave;
 
26
set password for root@"localhost" = password('');
 
27
create table t3(n int);
 
28
insert into t3 values(1),(2);
 
29
select * from t3;
 
30
n
 
31
1
 
32
2
 
33
select sum(length(word)) from t1;
 
34
sum(length(word))
 
35
1022
 
36
drop table t1,t3;
 
37
create table t1 (n int) engine=myisam;
 
38
reset master;
 
39
stop slave;
 
40
reset slave;
 
41
include/assert.inc [We should have generated greater than 16 KB relay log]
 
42
lock tables t1 read;
 
43
start slave;
 
44
include/sync_slave_io_with_master.inc
 
45
unlock tables;
 
46
create table t2(id int);
 
47
insert into t2 values(connection_id());
 
48
create temporary table t3(n int);
 
49
insert into t3 select get_lock('crash_lock%20C', 1) from t2;
 
50
update t1 set n = n + get_lock('crash_lock%20C', 2);
 
51
select (@id := id) - id from t2;
 
52
(@id := id) - id
 
53
0
 
54
kill @id;
 
55
drop table t2;
 
56
drop temporary table if exists t3;
 
57
Got one of the listed errors
 
58
include/wait_for_slave_sql_error.inc [errno=1053]
 
59
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
 
60
include/start_slave.inc
 
61
select count(*) from t1;
 
62
count(*)
 
63
100
 
64
drop table t1;
 
65
create table t1 (n int);
 
66
insert into t1 values(3456);
 
67
insert into mysql.user (Host, User, Password)
 
68
VALUES ("10.10.10.%", "blafasel2", password("blafasel2"));
 
69
Warnings:
 
70
Warning 1364    Field 'ssl_cipher' doesn't have a default value
 
71
Warning 1364    Field 'x509_issuer' doesn't have a default value
 
72
Warning 1364    Field 'x509_subject' doesn't have a default value
 
73
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
74
select_priv     user
 
75
N       blafasel2
 
76
update mysql.user set Select_priv = "Y" where User= _binary"blafasel2";
 
77
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
78
select_priv     user
 
79
Y       blafasel2
 
80
select n from t1;
 
81
n
 
82
3456
 
83
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
84
select_priv     user
 
85
Y       blafasel2
 
86
drop table t1;
 
87
delete from mysql.user where user="blafasel2";
 
88
include/rpl_end.inc