summaryrefslogtreecommitdiff
path: root/mysys/mf_tempfile.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-08 04:58:07 +0300
committermonty@hundin.mysql.fi <>2001-10-08 04:58:07 +0300
commit88aff4bf851e8f0d67cc7cd860d445e0fb234717 (patch)
treef8a3cf3164d5a5550378074ac8d3bf4afe105683 /mysys/mf_tempfile.c
parente80123501939a6e19dcc33efa837c15f5ca60641 (diff)
downloadmariadb-git-88aff4bf851e8f0d67cc7cd860d445e0fb234717.tar.gz
Updated manual about embedded version.
Speed up column-completion in 'mysql' Don't use ISAM if HAVE_ISAM is not defined A lot of fixes for the embedded version. All libraries are now included in libmysqld.a Changed arguments to convert_dirname() to make it more general. Renamed files in the 'merge' directory to all use a common prefix. Don't compile both assembler and C functions on x86
Diffstat (limited to 'mysys/mf_tempfile.c')
-rw-r--r--mysys/mf_tempfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c
index a724d22964d..d8a67990a52 100644
--- a/mysys/mf_tempfile.c
+++ b/mysys/mf_tempfile.c
@@ -101,8 +101,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix,
errno=my_errno= ENAMETOOLONG;
return 1;
}
- strmov(to,dir);
- strmov(convert_dirname(to),prefix_buff);
+ strmov(convert_dirname(to,dir,NullS),prefix_buff);
org_file=mkstemp(to);
file=my_register_filename(org_file, to, FILE_BY_MKSTEMP,
EE_CANTCREATEFILE, MyFlags);