~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/innodb_plugin/r/innodb-lock.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
1       1
56
56
2       10
57
57
drop table t1;
 
58
#
 
59
#Bug#12842206 INNODB LOCKING REGRESSION FOR INSERT IGNORE
 
60
#fixed by re-fixing Bug#7975
 
61
#aka Bug#11759688 52020: InnoDB can still deadlock on just INSERT...
 
62
#
 
63
CREATE TABLE t1 (a INT PRIMARY KEY, b INT NOT NULL) ENGINE=InnoDB;
 
64
INSERT INTO t1 VALUES(3,1);
 
65
BEGIN;
 
66
INSERT IGNORE INTO t1 VALUES(3,14);
 
67
BEGIN;
 
68
INSERT IGNORE INTO t1 VALUES(3,23);
 
69
SELECT * FROM t1 FOR UPDATE;
 
70
COMMIT;
 
71
a       b
 
72
3       1
 
73
COMMIT;
 
74
DROP TABLE t1;