mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Bug #19815702 TIS620: CRASH WITH MULTI TABLE DELETE
- Moving the test case to correct place.
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
create table t1 (a int,b varchar(100) ,d blob,primary key (a,d(10), b(10))) engine=innodb;
|
|
||||||
insert into t1 values (1,'e','a'),(5,'f','5'), (3,'a','b');
|
|
||||||
create table t2 (a int) engine=innodb;
|
|
||||||
insert into t2() values(4),(5);
|
|
||||||
delete t1 from t1, t2 where t1.a;
|
|
||||||
show create table t1;
|
|
||||||
Table Create Table
|
|
||||||
t1 CREATE TABLE `t1` (
|
|
||||||
`a` int(11) NOT NULL DEFAULT '0',
|
|
||||||
`b` varchar(100) NOT NULL DEFAULT '',
|
|
||||||
`d` blob NOT NULL,
|
|
||||||
PRIMARY KEY (`a`,`d`(10),`b`(10))
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
|
||||||
drop table t1, t2;
|
|
@@ -1,8 +0,0 @@
|
|||||||
--source include/have_innodb.inc
|
|
||||||
create table t1 (a int,b varchar(100) ,d blob,primary key (a,d(10), b(10))) engine=innodb;
|
|
||||||
insert into t1 values (1,'e','a'),(5,'f','5'), (3,'a','b');
|
|
||||||
create table t2 (a int) engine=innodb;
|
|
||||||
insert into t2() values(4),(5);
|
|
||||||
delete t1 from t1, t2 where t1.a;
|
|
||||||
show create table t1;
|
|
||||||
drop table t1, t2;
|
|
Reference in New Issue
Block a user