mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
e709eb9bf7
# Conflicts: # mysql-test/suite/galera/r/MW-388.result # mysql-test/suite/galera/t/MW-388.test # mysql-test/suite/innodb/r/truncate_inject.result # mysql-test/suite/innodb/t/truncate_inject.test # mysql-test/suite/rpl/r/rpl_stop_slave.result # mysql-test/suite/rpl/t/rpl_stop_slave.test # sql/sp_head.cc # sql/sp_head.h # sql/sql_lex.cc # sql/sql_yacc.yy # storage/xtradb/buf/buf0dblwr.cc
21 lines
517 B
Text
21 lines
517 B
Text
--source include/have_debug.inc
|
|
|
|
--echo #
|
|
--echo # Bug #725050: print keyuse info when hash join is used
|
|
--echo #
|
|
|
|
create table t1 (a int, b int);
|
|
insert into t1 values (2,2), (1,1);
|
|
create table t2 (a int);
|
|
insert into t2 values (2), (3);
|
|
|
|
set session join_cache_level=3;
|
|
SET @saved_dbug = @@SESSION.debug_dbug;
|
|
set @@debug_dbug= 'd,opt';
|
|
|
|
explain select t1.b from t1,t2 where t1.b=t2.a;
|
|
select t1.b from t1,t2 where t1.b=t2.a;
|
|
|
|
set session join_cache_level=default;
|
|
drop table t1,t2;
|
|
SET debug_dbug= @saved_dbug;
|