~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-07-09 14:06:50 UTC
  • Revision ID: mordred@inaugust.com-20100709140650-ojeih829v3wbdkyv
Added include guard for generator.h to make cpplint happy.

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
 
 
10
7
# basic tests of semi-consistent reads
 
8
 
11
9
connect (a,localhost,root,,);
12
10
connect (b,localhost,root,,);
13
11
connection a;
42
40
commit;
43
41
connection a;
44
42
select * from t1;
45
 
commit;
46
43
drop table t1;
 
44
 
47
45
connection default;
48
46
disconnect a;
49
47
disconnect b;
50
 
 
51
 
 
52
 
SET GLOBAL innodb_lock_wait_timeout=@orig_lock_wait_timeout ;
53