Commit 3f663d27 authored by Monty's avatar Monty

Removed fixed temporay file paths in mtr

parent 19eac149
......@@ -642,14 +642,14 @@ DROP TABLE t1, t2;
create table t1 (a int, b decimal(13, 3));
insert into t1 values (1, 0.123);
--disable_ps2_protocol
select a, (select max(b) from t1) into outfile "subselect.out.file.1" from t1;
select a, (select max(b) from t1) into outfile "../../tmp/subselect.out.file.1" from t1;
--enable_ps2_protocol
delete from t1;
load data infile "subselect.out.file.1" into table t1;
load data infile "../../tmp/subselect.out.file.1" into table t1;
select * from t1;
drop table t1;
let $datadir=`select @@datadir`;
--remove_file $datadir/test/subselect.out.file.1
--remove_file $MYSQLTEST_VARDIR/tmp/subselect.out.file.1
#
# Bug #37894: Assertion in init_read_record_seq in handler.h line 1444
......
......@@ -795,9 +795,9 @@ SELECT 1 FROM t1 WHERE t1.a NOT IN (SELECT 1 FROM t1, t2 WHERE 0);
DROP TABLE t1, t2;
create table t1 (a int, b decimal(13, 3));
insert into t1 values (1, 0.123);
select a, (select max(b) from t1) into outfile "subselect.out.file.1" from t1;
select a, (select max(b) from t1) into outfile "../../tmp/subselect.out.file.1" from t1;
delete from t1;
load data infile "subselect.out.file.1" into table t1;
load data infile "../../tmp/subselect.out.file.1" into table t1;
select * from t1;
a b
1 0.123
......
......@@ -798,9 +798,9 @@ SELECT 1 FROM t1 WHERE t1.a NOT IN (SELECT 1 FROM t1, t2 WHERE 0);
DROP TABLE t1, t2;
create table t1 (a int, b decimal(13, 3));
insert into t1 values (1, 0.123);
select a, (select max(b) from t1) into outfile "subselect.out.file.1" from t1;
select a, (select max(b) from t1) into outfile "../../tmp/subselect.out.file.1" from t1;
delete from t1;
load data infile "subselect.out.file.1" into table t1;
load data infile "../../tmp/subselect.out.file.1" into table t1;
select * from t1;
a b
1 0.123
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment