~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

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

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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
create table t1 (word char(20) not null);
 
8
load data infile '../std_data_ln/words.dat' into table t1;
 
9
load data local infile 'MYSQL_TEST_DIR/std_data/words.dat' into table t1;
 
10
select * from t1 limit 10;
 
11
word
 
12
Aarhus
 
13
Aaron
 
14
Ababa
 
15
aback
 
16
abaft
 
17
abandon
 
18
abandoned
 
19
abandoning
 
20
abandonment
 
21
abandons
 
22
stop slave;
 
23
set password for root@"localhost" = password('foo');
 
24
start slave;
 
25
set password for root@"localhost" = password('');
 
26
create table t3(n int);
 
27
insert into t3 values(1),(2);
 
28
select * from t3;
 
29
n
 
30
1
 
31
2
 
32
select sum(length(word)) from t1;
 
33
sum(length(word))
 
34
1022
 
35
drop table t1,t3;
 
36
create table t1 (n int) engine=myisam;
 
37
reset master;
 
38
stop slave;
 
39
reset slave;
 
40
lock tables t1 read;
 
41
start slave;
 
42
unlock tables;
 
43
create table t2(id int);
 
44
insert into t2 values(connection_id());
 
45
create temporary table t3(n int);
 
46
insert into t3 select get_lock('crash_lock%20C', 1) from t2;
 
47
update t1 set n = n + get_lock('crash_lock%20C', 2);
 
48
select (@id := id) - id from t2;
 
49
(@id := id) - id
 
50
0
 
51
kill @id;
 
52
drop table t2;
 
53
Got one of the listed errors
 
54
set global sql_slave_skip_counter=1;
 
55
start slave;
 
56
select count(*) from t1;
 
57
count(*)
 
58
5000
 
59
drop table t1;
 
60
create table t1 (n int);
 
61
insert into t1 values(3456);
 
62
insert into mysql.user (Host, User, Password)
 
63
VALUES ("10.10.10.%", "blafasel2", password("blafasel2"));
 
64
Warnings:
 
65
Warning 1364    Field 'ssl_cipher' doesn't have a default value
 
66
Warning 1364    Field 'x509_issuer' doesn't have a default value
 
67
Warning 1364    Field 'x509_subject' doesn't have a default value
 
68
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
69
select_priv     user
 
70
N       blafasel2
 
71
update mysql.user set Select_priv = "Y" where User= _binary"blafasel2";
 
72
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
73
select_priv     user
 
74
Y       blafasel2
 
75
select n from t1;
 
76
n
 
77
3456
 
78
select select_priv,user from mysql.user where user = _binary'blafasel2';
 
79
select_priv     user
 
80
Y       blafasel2
 
81
drop table t1;
 
82
delete from mysql.user where user="blafasel2";