diff options
author | unknown <heikki@donna.mysql.fi> | 2001-05-23 18:04:49 +0300 |
---|---|---|
committer | unknown <heikki@donna.mysql.fi> | 2001-05-23 18:04:49 +0300 |
commit | 2f8dfb3f4a13e8cd205e490722fb298712257ebf (patch) | |
tree | c1ad23c161d316af10c275cad5f8b15f58e28c86 /sql/ha_innobase.cc | |
parent | 41dd2aa2b5a2f8b7a5d760bff26e8ceb2ce10fff (diff) | |
download | mariadb-git-2f8dfb3f4a13e8cd205e490722fb298712257ebf.tar.gz |
srv0srv.h One can now specify innodb_unix_file_flush_method in my.cnf
srv0srv.c One can now specify innodb_unix_file_flush_method in my.cnf
srv0start.c One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.cc One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.h One can now specify innodb_unix_file_flush_method in my.cnf
mysqld.cc One can now specify innodb_unix_file_flush_method in my.cnf
sql/ha_innobase.cc:
One can now specify innodb_unix_file_flush_method in my.cnf
sql/ha_innobase.h:
One can now specify innodb_unix_file_flush_method in my.cnf
sql/mysqld.cc:
One can now specify innodb_unix_file_flush_method in my.cnf
innobase/srv/srv0srv.c:
One can now specify innodb_unix_file_flush_method in my.cnf
innobase/srv/srv0start.c:
One can now specify innodb_unix_file_flush_method in my.cnf
innobase/include/srv0srv.h:
One can now specify innodb_unix_file_flush_method in my.cnf
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/ha_innobase.cc')
-rw-r--r-- | sql/ha_innobase.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc index 3e86d0da6f1..fa44cebe19d 100644 --- a/sql/ha_innobase.cc +++ b/sql/ha_innobase.cc @@ -83,6 +83,7 @@ long innobase_mirrored_log_groups, innobase_log_files_in_group, char *innobase_data_home_dir, *innobase_data_file_path; char *innobase_log_group_home_dir, *innobase_log_arch_dir; +char *innobase_unix_file_flush_method; bool innobase_flush_log_at_trx_commit, innobase_log_archive, innobase_use_native_aio; @@ -474,6 +475,10 @@ innobase_init(void) DBUG_RETURN(TRUE); } + srv_unix_file_flush_method_str = (innobase_unix_file_flush_method ? + innobase_unix_file_flush_method : + (char*)"fdatasync"); + srv_n_log_groups = (ulint) innobase_mirrored_log_groups; srv_n_log_files = (ulint) innobase_log_files_in_group; srv_log_file_size = (ulint) innobase_log_file_size; |