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

« back to all changes in this revision

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

  • 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
stop slave;
 
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
3
reset master;
 
4
reset slave;
 
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
6
start slave;
 
7
CALL mtr.add_suppression("Statement may not be safe to log in statement format.");
 
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
lock tables t1 read;
 
42
start slave;
 
43
unlock tables;
 
44
create table t2(id int);
 
45
insert into t2 values(connection_id());
 
46
create temporary table t3(n int);
 
47
insert into t3 select get_lock('crash_lock%20C', 1) from t2;
 
48
update t1 set n = n + get_lock('crash_lock%20C', 2);
 
49
select (@id := id) - id from t2;
 
50
(@id := id) - id
 
51
0
 
52
kill @id;
 
53
drop table t2;
 
54
Got one of the listed errors
 
55
set global sql_slave_skip_counter=1;
 
56
start slave;
 
57
select count(*) from t1;
 
58
count(*)
 
59
5000
 
60
drop table t1;
 
61
create table t1 (n int);
 
62
insert into t1 values(3456);
 
63
insert into mysql.user (Host, User, Password)
 
64
VALUES ("10.10.10.%", "blafasel2", password("blafasel2"));
 
65
Warnings:
 
66
Warning 1364    Field 'ssl_cipher' doesn't have a default value
 
67
Warning 1364    Field 'x509_issuer' doesn't have a default value
 
68
Warning 1364    Field 'x509_subject' doesn't have a default value
 
69
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
70
select_priv     user
 
71
N       blafasel2
 
72
update mysql.user set Select_priv = "Y" where User= _binary"blafasel2";
 
73
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
74
select_priv     user
 
75
Y       blafasel2
 
76
select n from t1;
 
77
n
 
78
3456
 
79
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
80
select_priv     user
 
81
Y       blafasel2
 
82
drop table t1;
 
83
delete from mysql.user where user="blafasel2";