summaryrefslogtreecommitdiff
path: root/sql/ha_innobase.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_innobase.cc')
-rw-r--r--sql/ha_innobase.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc
index b27f033ff1c..72406af55fd 100644
--- a/sql/ha_innobase.cc
+++ b/sql/ha_innobase.cc
@@ -113,7 +113,7 @@ my_bool innobase_fast_shutdown = TRUE;
2 : write to the log file at each commit, but flush to disk only once per
second */
-int innobase_flush_log_at_trx_commit = 0;
+long innobase_flush_log_at_trx_commit = 0;
/* The following counter is used to convey information to InnoDB
about server activity: in selects it is not sensible to call
@@ -558,6 +558,8 @@ innobase_init(void)
srv_log_buffer_size = (ulint) innobase_log_buffer_size;
srv_flush_log_at_trx_commit = (ulint) innobase_flush_log_at_trx_commit;
+ printf("Flush value %lu\n", srv_flush_log_at_trx_commit);
+
srv_use_native_aio = 0;
srv_pool_size = (ulint) innobase_buffer_pool_size;