summaryrefslogtreecommitdiff
path: root/mysys/mf_tempfile.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-10-14 03:16:35 +0300
committermonty@donna.mysql.com <>2000-10-14 03:16:35 +0300
commit7ac13c89e62da94aab70d3e8e89d368cb7bc7e5c (patch)
tree1b0bc8c3909ac0c3e49a7d72615c583c9a72254d /mysys/mf_tempfile.c
parent5134b08422d9e69228fe5f66a51f0e5f12c81e86 (diff)
downloadmariadb-git-7ac13c89e62da94aab70d3e8e89d368cb7bc7e5c.tar.gz
Fix of LEFT JOIN optimizer bug, problem with key cache on Windows and
a lot of portability issues.
Diffstat (limited to 'mysys/mf_tempfile.c')
-rw-r--r--mysys/mf_tempfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c
index 44826ad57c2..e78cb3ca2ae 100644
--- a/mysys/mf_tempfile.c
+++ b/mysys/mf_tempfile.c
@@ -43,7 +43,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix,
DBUG_ENTER("open_temp_file");
#if defined(_MSC_VER)
{
- char *end,*res,**old_env,*temp_env[1];
+ char temp[FN_REFLEN],*end,*res,**old_env,*temp_env[1];
old_env=environ;
if (dir)
{