Commit a1a78bbc authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

InnoDB: Create temporary files in the MySQL tmpdir instead of $TMPDIR.

(Bug #5822)
parent 548f7dba
......@@ -424,7 +424,7 @@ innobase_mysql_tmpfile(void)
{
char filename[FN_REFLEN];
int fd2 = -1;
File fd = create_temp_file(filename, NullS, "ib",
File fd = create_temp_file(filename, mysql_tmpdir, "ib",
#ifdef __WIN__
O_BINARY | O_TRUNC | O_SEQUENTIAL |
O_TEMPORARY | O_SHORT_LIVED |
......
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