~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/tests/t/innodb-semi-consistent.test

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 18:24:24 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olafvdspek@gmail.com-20110212182424-kgnm9osi7qo97at2
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
drop table if exists t1;
5
5
--enable_warnings
6
6
 
 
7
SET @orig_lock_wait_timeout= @@innodb_lock_wait_timeout; 
 
8
SET GLOBAL innodb_lock_wait_timeout=2;
 
9
 
7
10
# basic tests of semi-consistent reads
8
 
 
9
11
connect (a,localhost,root,,);
10
12
connect (b,localhost,root,,);
11
13
connection a;
40
42
commit;
41
43
connection a;
42
44
select * from t1;
 
45
commit;
43
46
drop table t1;
44
 
 
45
47
connection default;
46
48
disconnect a;
47
49
disconnect b;
 
50
 
 
51
 
 
52
SET GLOBAL innodb_lock_wait_timeout=@orig_lock_wait_timeout ;
 
53