~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_err_ignoredtable.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 (a int primary key);
 
8
create table t4 (a int primary key);
 
9
insert into t1 values (1),(1);
 
10
Got one of the listed errors
 
11
insert into t4 values (1),(2);
 
12
show tables like 't1';
 
13
Tables_in_test (t1)
 
14
show tables like 't4';
 
15
Tables_in_test (t4)
 
16
t4
 
17
SELECT * FROM test.t4 ORDER BY a;
 
18
a
 
19
1
 
20
2
 
21
drop table t1;
 
22
select get_lock('crash_lock%20C', 10);
 
23
get_lock('crash_lock%20C', 10)
 
24
1
 
25
create table t2 (a int primary key);
 
26
insert into t2 values(1);
 
27
create table t3 (id int);
 
28
insert into t3 values(connection_id());
 
29
update t2 set a = a + 1 + get_lock('crash_lock%20C', 10);
 
30
select (@id := id) - id from t3;
 
31
(@id := id) - id
 
32
0
 
33
kill @id;
 
34
drop table t2,t3;
 
35
insert into t4 values (3),(4);
 
36
SELECT * FROM test.t4 ORDER BY a;
 
37
a
 
38
1
 
39
2
 
40
3
 
41
4
 
42
DROP TABLE test.t4;