mirror of
https://github.com/MariaDB/server.git
synced 2025-08-26 01:44:06 +03:00
WL#2474 "Multi Range Read: Change the default MRR implementation to implement new MRR interface" WL#2475 "Batched range read functions for MyISAM/InnoDb" "Index condition pushdown for MyISAM/InnoDB" Igor's fix from sp1r-igor@olga.mysql.com-20080330055902-07614: There could be observed the following problems: 1. EXPLAIN did not mention pushdown conditions from on expressions in the 'extra' column. As a result if a query had no where conditions pushed down to a table, but had on conditions pushed to this table the 'extra' column in the EXPLAIN for the table missed 'using where'. 2. Conditions for ref access were not eliminated from on expressions though such conditions were eliminated from the where condition.
15 lines
403 B
Plaintext
15 lines
403 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="+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`;
|