From cde8f109b90aa5d6344a598bd2d14348a03c36d5 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 2 May 2008 11:22:10 +0200 Subject: Bug#36465 mysqltest should always use the --tmpdir client/mysqltest.c: Use the --tmpdir location to create temporary files --- client/mysqltest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/mysqltest.c') 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"); -- cgit v1.2.1