~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-08-12 20:27:32 UTC
  • mto: (1720.1.5 build)
  • mto: This revision was merged to the branch mainline in revision 1722.
  • Revision ID: mordred@inaugust.com-20100812202732-9kzchbkvkyki4n3u
Merged libdrizzle directly into tree.

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