From 340598a3ba088f74dbe027c40b0c7c20ad5e43be Mon Sep 17 00:00:00 2001 From: "msvensson@neptunus.(none)" <> Date: Thu, 16 Feb 2006 22:10:25 +0100 Subject: [PATCH] Use the tmp dir of MYSQLTEST_VARDIR --- mysql-test/r/sp.result | 4 ++-- mysql-test/t/sp.test | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mysql-test/r/sp.result b/mysql-test/r/sp.result index d56cf086cdf..fb4e25f6d18 100644 --- a/mysql-test/r/sp.result +++ b/mysql-test/r/sp.result @@ -539,7 +539,7 @@ drop procedure if exists into_outfile| create procedure into_outfile(x char(16), y int) begin insert into test.t1 values (x, y); -select * into outfile "/tmp/spout" from test.t1; +select * into outfile "../tmp/spout" from test.t1; insert into test.t1 values (concat(x, "2"), y+2); end| call into_outfile("ofile", 1)| @@ -549,7 +549,7 @@ drop procedure if exists into_dumpfile| create procedure into_dumpfile(x char(16), y int) begin insert into test.t1 values (x, y); -select * into dumpfile "/tmp/spdump" from test.t1 limit 1; +select * into dumpfile "../tmp/spdump" from test.t1 limit 1; insert into test.t1 values (concat(x, "2"), y+2); end| call into_dumpfile("dfile", 1)| diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test index a1eba73635e..9279c861e94 100644 --- a/mysql-test/t/sp.test +++ b/mysql-test/t/sp.test @@ -702,13 +702,13 @@ drop procedure if exists into_outfile| create procedure into_outfile(x char(16), y int) begin insert into test.t1 values (x, y); - select * into outfile "/tmp/spout" from test.t1; + select * into outfile "../tmp/spout" from test.t1; insert into test.t1 values (concat(x, "2"), y+2); end| -system rm -f /tmp/spout| +--system rm -f $MYSQLTEST_VARDIR/tmp/spout call into_outfile("ofile", 1)| -system rm -f /tmp/spout| +--system rm -f $MYSQLTEST_VARDIR/tmp/spout delete from t1| drop procedure into_outfile| @@ -718,13 +718,13 @@ drop procedure if exists into_dumpfile| create procedure into_dumpfile(x char(16), y int) begin insert into test.t1 values (x, y); - select * into dumpfile "/tmp/spdump" from test.t1 limit 1; + select * into dumpfile "../tmp/spdump" from test.t1 limit 1; insert into test.t1 values (concat(x, "2"), y+2); end| -system rm -f /tmp/spdump| +--system rm -f $MYSQLTEST_VARDIR/tmp/spdump call into_dumpfile("dfile", 1)| -system rm -f /tmp/spdump| +--system rm -f $MYSQLTEST_VARDIR/tmp/spdump delete from t1| drop procedure into_dumpfile|