~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/tests/t/innodb_bug56716.test

  • Committer: Brian Aker
  • Date: 2010-12-08 22:35:56 UTC
  • mfrom: (1819.9.158 update-innobase)
  • Revision ID: brian@tangent.org-20101208223556-37mi4omqg7lkjzf3
Merge in Stewart's changes, 1.3 changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Bug #56716 InnoDB locks a record gap without locking the table
 
3
#
 
4
-- source include/have_innodb.inc
 
5
 
 
6
CREATE TABLE bug56716 (a INT PRIMARY KEY,b INT,c INT,INDEX(b)) ENGINE=InnoDB;
 
7
 
 
8
SELECT * FROM bug56716 WHERE b<=42 ORDER BY b DESC FOR UPDATE;
 
9
 
 
10
DROP TABLE bug56716;