fix a couple of dbug tests not to write to /tmp
This commit is contained in:
parent
cc04a9fc0f
commit
1bc0b0b524
@ -1,5 +1,4 @@
|
|||||||
drop table if exists t1,t2,t3;
|
set @@debug_dbug= 'd,opt';
|
||||||
drop view if exists v2,v3;
|
|
||||||
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
|
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
|
||||||
CREATE TABLE t2 (
|
CREATE TABLE t2 (
|
||||||
f1 DATE,
|
f1 DATE,
|
||||||
|
@ -6,7 +6,7 @@ insert into t1 values (2,2), (1,1);
|
|||||||
create table t2 (a int);
|
create table t2 (a int);
|
||||||
insert into t2 values (2), (3);
|
insert into t2 values (2), (3);
|
||||||
set session join_cache_level=3;
|
set session join_cache_level=3;
|
||||||
set @@debug_dbug= 'd:t:O,/tmp/trace.out';
|
set @@debug_dbug= 'd,opt';
|
||||||
explain select t1.b from t1,t2 where t1.b=t2.a;
|
explain select t1.b from t1,t2 where t1.b=t2.a;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using where
|
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using where
|
||||||
|
@ -1 +0,0 @@
|
|||||||
--debug
|
|
@ -1,10 +1,10 @@
|
|||||||
|
#
|
||||||
|
# MDEV-6830 Server crashes in best_access_path after a sequence of SELECTs invollving a temptable view
|
||||||
|
#
|
||||||
--source include/have_debug.inc
|
--source include/have_debug.inc
|
||||||
|
|
||||||
--disable_warnings
|
set @@debug_dbug= 'd,opt';
|
||||||
drop table if exists t1,t2,t3;
|
|
||||||
drop view if exists v2,v3;
|
|
||||||
--enable_warnings
|
|
||||||
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
|
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
|
||||||
|
|
||||||
CREATE TABLE t2 (
|
CREATE TABLE t2 (
|
||||||
|
@ -10,7 +10,7 @@ create table t2 (a int);
|
|||||||
insert into t2 values (2), (3);
|
insert into t2 values (2), (3);
|
||||||
|
|
||||||
set session join_cache_level=3;
|
set session join_cache_level=3;
|
||||||
set @@debug_dbug= 'd:t:O,/tmp/trace.out';
|
set @@debug_dbug= 'd,opt';
|
||||||
|
|
||||||
explain select t1.b from t1,t2 where t1.b=t2.a;
|
explain select t1.b from t1,t2 where t1.b=t2.a;
|
||||||
select t1.b from t1,t2 where t1.b=t2.a;
|
select t1.b from t1,t2 where t1.b=t2.a;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user