summaryrefslogtreecommitdiff
path: root/client/mysqltest.c
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2008-05-02 11:22:10 +0200
committerunknown <msvensson@pilot.mysql.com>2008-05-02 11:22:10 +0200
commitcde8f109b90aa5d6344a598bd2d14348a03c36d5 (patch)
treed26a3f96b76f48ff72df45f6ef13ea33a4a7e1b0 /client/mysqltest.c
parent9018c56ac419a404a9656361cc6a3135549a3bb3 (diff)
downloadmariadb-git-cde8f109b90aa5d6344a598bd2d14348a03c36d5.tar.gz
Bug#36465 mysqltest should always use the --tmpdir
client/mysqltest.c: Use the --tmpdir location to create temporary files
Diffstat (limited to 'client/mysqltest.c')
-rw-r--r--client/mysqltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 1d85e777e48..a04f18750ef 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -1536,7 +1536,7 @@ int dyn_string_cmp(DYNAMIC_STRING* ds, const char *fname)
DBUG_ENTER("dyn_string_cmp");
DBUG_PRINT("enter", ("fname: %s", fname));
- if ((fd= create_temp_file(temp_file_path, NULL,
+ if ((fd= create_temp_file(temp_file_path, TMPDIR,
"tmp", O_CREAT | O_SHARE | O_RDWR,
MYF(MY_WME))) < 0)
die("Failed to create temporary file for ds");