diff options
author | unknown <monty@donna.mysql.com> | 2000-10-04 23:20:16 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-10-04 23:20:16 +0300 |
commit | fc78fef7968a652d2bf96ac5ee6d5f35faf7fcd9 (patch) | |
tree | f355b0229e2ae229e8311da676b61658f1b0a052 /sql/log.cc | |
parent | 63b7b45ff7f79a08a673e8b759a69f5ee7e67902 (diff) | |
download | mariadb-git-fc78fef7968a652d2bf96ac5ee6d5f35faf7fcd9.tar.gz |
Portability fixes
Docs/manual.texi:
Updates in the links sections
config.guess:
Added fixes for Darwin
config.sub:
Added fixes for Darwin
configure.in:
Added fixes for Darwin
extra/my_print_defaults.c:
Fixed typo
include/my_pthread.h:
Added fixes for Darwin
ltconfig:
Portability fix
myisam/mi_check.c:
Make myisamchk more silent
mysys/Makefile.am:
Added mf_tempfile.c
mysys/mf_cache.c:
Remove not used parts
mysys/mf_tempfile.c:
Fix for Solaris
sql/log.cc:
Fix for Windows
sql/sql_cache.cc:
Fix for Darwin
sql/sql_show.cc:
Fix for temporary tables
strings/strtol.c:
Fix for Darwin
support-files/mysql.spec.sh:
Fix for documentation files that are installed compressed
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/log.cc b/sql/log.cc index 94cd553bfce..1f12bcacf6c 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -149,7 +149,8 @@ void MYSQL_LOG::open(const char *log_name, enum_log_type log_type_arg, fn_format(index_file_name, name, mysql_data_home, ".index", 6); db[0]=0; - file=my_fopen(log_file_name,O_APPEND | O_WRONLY,MYF(MY_WME | ME_WAITTANG)); + file=my_fopen(log_file_name,O_APPEND | O_WRONLY | O_BINARY, + MYF(MY_WME | ME_WAITTANG)); if (!file) { my_free(name,MYF(0)); @@ -188,7 +189,7 @@ void MYSQL_LOG::open(const char *log_name, enum_log_type log_type_arg, { Start_log_event s; if(!index_file && - !(index_file = my_fopen(index_file_name,O_APPEND | O_RDWR, + !(index_file = my_fopen(index_file_name,O_APPEND | O_BINARY | O_RDWR, MYF(MY_WME)))) { my_fclose(file,MYF(MY_WME)); |