summaryrefslogtreecommitdiff
path: root/storage/tokudb/hatoku_hton.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-01-24 17:31:13 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2019-01-24 17:31:13 +0100
commit13802fef831790c4b63a3ddbf96e516eff422464 (patch)
tree0bca22fe26dbf61d2e0bade4214b82f2d05c15db /storage/tokudb/hatoku_hton.cc
parenta816eac92ac2381e1b9cd4d655e733bdeafb173e (diff)
downloadmariadb-git-13802fef831790c4b63a3ddbf96e516eff422464.tar.gz
5.6.42-84.2
Diffstat (limited to 'storage/tokudb/hatoku_hton.cc')
-rw-r--r--storage/tokudb/hatoku_hton.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc
index 610c9e07be0..a1d6597e33a 100644
--- a/storage/tokudb/hatoku_hton.cc
+++ b/storage/tokudb/hatoku_hton.cc
@@ -575,10 +575,10 @@ static int tokudb_init_func(void *p) {
db_env->set_update(db_env, tokudb_update_fun);
- db_env_set_direct_io(tokudb::sysvars::directio == TRUE);
+ db_env_set_direct_io(tokudb::sysvars::directio);
db_env_set_compress_buffers_before_eviction(
- tokudb::sysvars::compress_buffers_before_eviction == TRUE);
+ tokudb::sysvars::compress_buffers_before_eviction);
db_env->change_fsync_log_period(db_env, tokudb::sysvars::fsync_log_period);