Skip to content

Commit 1bc0b0b

Browse files
committed
fix a couple of dbug tests not to write to /tmp
1 parent cc04a9f commit 1bc0b0b

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

mysql-test/r/mdev6830.result

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
drop table if exists t1,t2,t3;
2-
drop view if exists v2,v3;
1+
set @@debug_dbug= 'd,opt';
32
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
43
CREATE TABLE t2 (
54
f1 DATE,

mysql-test/r/select_debug.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ insert into t1 values (2,2), (1,1);
66
create table t2 (a int);
77
insert into t2 values (2), (3);
88
set session join_cache_level=3;
9-
set @@debug_dbug= 'd:t:O,/tmp/trace.out';
9+
set @@debug_dbug= 'd,opt';
1010
explain select t1.b from t1,t2 where t1.b=t2.a;
1111
id select_type table type possible_keys key key_len ref rows Extra
1212
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using where

mysql-test/t/mdev6830-master.opt

Lines changed: 0 additions & 1 deletion
This file was deleted.

mysql-test/t/mdev6830.test

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
1+
#
2+
# MDEV-6830 Server crashes in best_access_path after a sequence of SELECTs invollving a temptable view
3+
#
24
--source include/have_debug.inc
35

4-
--disable_warnings
5-
drop table if exists t1,t2,t3;
6-
drop view if exists v2,v3;
7-
--enable_warnings
6+
set @@debug_dbug= 'd,opt';
7+
88
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
99

1010
CREATE TABLE t2 (

mysql-test/t/select_debug.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ create table t2 (a int);
1010
insert into t2 values (2), (3);
1111

1212
set session join_cache_level=3;
13-
set @@debug_dbug= 'd:t:O,/tmp/trace.out';
13+
set @@debug_dbug= 'd,opt';
1414

1515
explain select t1.b from t1,t2 where t1.b=t2.a;
1616
select t1.b from t1,t2 where t1.b=t2.a;

0 commit comments

Comments
 (0)