~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2010-03-18 12:01:34 UTC
  • mto: (1666.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 1596.
  • Revision ID: stewart@flamingspork.com-20100318120134-45fdnsw8g3j6c7oy
move RAND() into a plugin

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;
43
41
connection a;
44
42
select * from t1;
45
43
drop table t1;
 
44
 
46
45
connection default;
47
46
disconnect a;
48
47
disconnect b;
49
 
 
50
 
 
51
 
SET GLOBAL innodb_lock_wait_timeout=@orig_lock_wait_timeout ;
52