diff options
author | unknown <monty@donna.mysql.com> | 2001-01-19 04:57:29 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-01-19 04:57:29 +0200 |
commit | 67891255f5d99c36832e54373fabfcfa758aa979 (patch) | |
tree | e6062d0caaa582f6d8fee0a4660b1e970681da48 /mysys/mf_tempfile.c | |
parent | e6b408608630b52955da5e76e5240e1da878f080 (diff) | |
download | mariadb-git-67891255f5d99c36832e54373fabfcfa758aa979.tar.gz |
Added MYSQL_SERVER_SUFFIX to mysqld
Fixed bug in TRIM
changed strnmov -> strmake
BUILD/SETUP.sh:
Removed --disable-shared
Docs/manual.texi:
Changelog
Installing many servers
acinclude.m4:
Force use of db-3.2.3h
client/mysql.cc:
cleanup
mysql-test/r/func_str.result:
Added new TRIM test
mysql-test/t/func_str.test:
Added new TRIM test
mysys/charset.c:
change to use strmake instead of strnmov
mysys/mf_format.c:
change to use strmake instead of strnmov
mysys/mf_tempfile.c:
change to use strmake instead of strnmov
scripts/make_binary_distribution.sh:
Removed error messages for missing files
sql/handler.cc:
More debug
sql/item_strfunc.cc:
Fixed bug in TRIM()
sql/mysqld.cc:
Added MYSQL_SERVER_SUFFIX to mysqld
Diffstat (limited to 'mysys/mf_tempfile.c')
-rw-r--r-- | mysys/mf_tempfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c index a12b4326705..6204c4d0407 100644 --- a/mysys/mf_tempfile.c +++ b/mysys/mf_tempfile.c @@ -69,7 +69,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix, } if ((res=tempnam((char*) dir,(char *) prefix))) { - strnmov(to,res,FN_REFLEN); + strmake(to,res,FN_REFLEN-1); (*free)(res); file=my_create(to,0, mode, MyFlags); } @@ -80,7 +80,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix, dir=getenv("TMPDIR"); if ((res=tempnam((char*) dir,(char *) prefix))) { - strnmov(to,res,FN_REFLEN); + strmake(to,res,FN_REFLEN-1); (*free)(res); file=my_create(to, 0, mode, MyFlags); } @@ -130,7 +130,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix, } if ((res=tempnam((char*) dir, (char*) prefix))) { - strnmov(to,res,FN_REFLEN); + strmake(to,res,FN_REFLEN-1); (*free)(res); file=my_create(to,0, (int) (O_RDWR | O_BINARY | O_TRUNC | |