~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/innodb_notembedded.test

Cleanup around SAFEMALLOC

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
--disable_warnings
3
 
drop table if exists t1;
4
 
--enable_warnings
5
 
 
6
 
connect (a,localhost,root,,);
7
 
connect (b,localhost,root,,);
8
 
 
9
 
 
10
 
#
11
 
# BUG#11238 - in prelocking mode SELECT .. FOR UPDATE is changed to
12
 
# non-blocking SELECT
13
 
#
14
 
create table t1 (col1 integer primary key, col2 integer) engine=innodb;
15
 
insert t1 values (1,100);
16
 
start transaction;
17
 
select col2 from t1 where col1=1 for update;
18
 
connection b;
19
 
send update t1 set col2=0 where col1=1;
20
 
connection default;
21
 
select * from t1;
22
 
connection a;
23
 
rollback;
24
 
connection b;
25
 
reap;
26
 
rollback;
27
 
connection default;
28
 
drop table t1;
29
 
disconnect a;
30
 
disconnect b;