~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/mysql-test/innodb-semi-consistent.result

  • Committer: Stewart Smith
  • Date: 2008-07-13 06:56:15 UTC
  • mto: (210.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 211.
  • Revision ID: stewart@flamingspork.com-20080713065615-vzok75kgnnviokl9
Move MD5() into a UDF

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
drop table if exists t1;
2
 
set binlog_format=mixed;
3
 
set session transaction isolation level repeatable read;
4
 
create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
5
 
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
6
 
set autocommit=0;
7
 
select * from t1 where a=3 lock in share mode;
8
 
a
9
 
3
10
 
set binlog_format=mixed;
11
 
set session transaction isolation level repeatable read;
12
 
set autocommit=0;
13
 
update t1 set a=10 where a=5;
14
 
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
15
 
commit;
16
 
set session transaction isolation level read committed;
17
 
update t1 set a=10 where a=5;
18
 
select * from t1 where a=2 for update;
19
 
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
20
 
select * from t1 where a=2 limit 1 for update;
21
 
a
22
 
2
23
 
update t1 set a=11 where a=6;
24
 
update t1 set a=12 where a=2;
25
 
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
26
 
update t1 set a=13 where a=1;
27
 
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
28
 
commit;
29
 
update t1 set a=14 where a=1;
30
 
commit;
31
 
select * from t1;
32
 
a
33
 
14
34
 
2
35
 
3
36
 
4
37
 
10
38
 
11
39
 
7
40
 
drop table t1;