1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00
Sergei Golubchik 1efdd5a572 rename debug variable to debug_dbug, to make test pass in release builds
(and to follow the naming conventons).
keep old debug variable, but mark it as deprecated.
2011-12-15 22:07:58 +01:00

15 lines
408 B
Plaintext

# 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 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`;