diff options
author | unknown <lenz@mysql.com> | 2003-02-19 15:08:29 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2003-02-19 15:08:29 +0100 |
commit | f4d93af14d656ab96a428465dd9da81e45a5b494 (patch) | |
tree | 2b5ef9851b2c6523a904765ae066e60275171cbd /mysql-test/r/innodb.result | |
parent | ea3e5a5c0fd2a6a81552574b7820760dd9a98cbe (diff) | |
download | mariadb-git-f4d93af14d656ab96a428465dd9da81e45a5b494.tar.gz |
Applied Sinisa's patch:
"A fix for non-releasing locks for multi table updates and multi
table deletes with InnoDB tables."
Diffstat (limited to 'mysql-test/r/innodb.result')
-rw-r--r-- | mysql-test/r/innodb.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/innodb.result b/mysql-test/r/innodb.result index 2a6eaaf0bfc..d65e90a6cc0 100644 --- a/mysql-test/r/innodb.result +++ b/mysql-test/r/innodb.result @@ -1058,6 +1058,12 @@ create table t2 (b varchar(10) not null unique) type=innodb; select t1.a from t1,t2 where t1.a=t2.b; a drop table t1,t2; +create table t1 (a int not null, b int, primary key (a)) type = innodb; +create table t2 (a int not null, b int, primary key (a)) type = innodb; +insert into t1 values (10, 20); +insert into t2 values (10, 20); +update t1, t2 set t1.b = 150, t2.b = t1.b where t2.a = t1.a and t1.a = 10; +drop table t1,t2; CREATE TABLE t1 (id INT NOT NULL, PRIMARY KEY (id)) TYPE=INNODB; CREATE TABLE t2 (id INT PRIMARY KEY, t1_id INT, INDEX par_ind (t1_id), FOREIGN KEY (t1_id) REFERENCES t1(id) ON DELETE CASCADE ) TYPE=INNODB; insert into t1 set id=1; |