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/t/innodb.test | |
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/t/innodb.test')
-rw-r--r-- | mysql-test/t/innodb.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test index 8b75d067566..7d13258ede1 100644 --- a/mysql-test/t/innodb.test +++ b/mysql-test/t/innodb.test @@ -696,6 +696,12 @@ create table t1 (a varchar(10) not null) type=myisam; create table t2 (b varchar(10) not null unique) type=innodb; select t1.a from t1,t2 where t1.a=t2.b; 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; # # Test of multi-table-delete with foreign key constraints |