summaryrefslogtreecommitdiff
path: root/mysys/mf_tempfile.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-10-17 00:47:15 +0300
committermonty@donna.mysql.com <>2000-10-17 00:47:15 +0300
commit117d8b7f64bc9be9fa74a61644936031ef43e1ee (patch)
treeab2709570d10aac2956fa63114d45c79b2b5ea19 /mysys/mf_tempfile.c
parent422979694649ad87e1406a8ea408467cbc4e5d0e (diff)
downloadmariadb-git-117d8b7f64bc9be9fa74a61644936031ef43e1ee.tar.gz
Automatic repair of MyISAM tables + small bug fixes
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 e78cb3ca2ae..c3fccda09bf 100644
--- a/mysys/mf_tempfile.c
+++ b/mysys/mf_tempfile.c
@@ -100,7 +100,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix,
return 1;
}
strmov(to,dir);
- strmov(convert_dirname(to),prefix);
+ strmov(convert_dirname(to),prefix_buff);
file=mkstemp(to);
}
#elif defined(HAVE_TEMPNAM)