mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
16 lines
477 B
Text
16 lines
477 B
Text
# Test for BUG#41996 "multi-table delete crashes server (InnoDB
|
|
# table)"
|
|
|
|
--source include/have_debug.inc
|
|
--source include/have_innodb.inc
|
|
|
|
# crash requires this
|
|
SET @saved_dbug = @@SESSION.debug_dbug;
|
|
set session debug_dbug="+d,optimizer_innodb_icp";
|
|
|
|
drop table if exists `t1`;
|
|
create table `t1` (`c` bigint, key(`c`),`a` int)engine=innodb;
|
|
insert into `t1` values(2,2);
|
|
delete `t1` from `t1` `a`, `t1` where `a`.`a`=`t1`.`c` ;
|
|
drop table `t1`;
|
|
SET debug_dbug= @saved_dbug;
|