~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-08-03 20:57:39 UTC
  • mfrom: (1680.6.4 rollup)
  • Revision ID: brian@gaz-20100803205739-7betgobkod41363k
Removes LOCK_system_variables_hash, one goto, drops internall new for std
new (so possible performance regression), fixes bug where Session was not
unlocked correctly.

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