summaryrefslogtreecommitdiff
path: root/storage/innobase
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@skysql.com>2014-11-04 15:41:39 +0200
committerJan Lindström <jan.lindstrom@skysql.com>2014-11-04 15:41:39 +0200
commit8b1b62dd8fb7baec93c4396230ea6c3cc3513845 (patch)
tree53b36b01c7b89b7a6ad2f284459d3bbe1dbde9e9 /storage/innobase
parent8e27845bb063187acc682d6184b2ec91c9c14786 (diff)
downloadmariadb-git-8b1b62dd8fb7baec93c4396230ea6c3cc3513845.tar.gz
Fix compiler failure on Windows.
Diffstat (limited to 'storage/innobase')
-rw-r--r--storage/innobase/include/srv0srv.h2
-rw-r--r--storage/innobase/srv/srv0srv.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h
index f628632c616..c3c9083f3cd 100644
--- a/storage/innobase/include/srv0srv.h
+++ b/storage/innobase/include/srv0srv.h
@@ -369,7 +369,7 @@ extern double srv_defragment_fill_factor;
extern uint srv_defragment_frequency;
extern ulonglong srv_defragment_interval;
-extern ulint srv_idle_flush_pct;
+extern ulong srv_idle_flush_pct;
/* Number of IO operations per second the server can do */
extern ulong srv_io_capacity;
diff --git a/storage/innobase/srv/srv0srv.cc b/storage/innobase/srv/srv0srv.cc
index 796fe4c9c59..c61a098d146 100644
--- a/storage/innobase/srv/srv0srv.cc
+++ b/storage/innobase/srv/srv0srv.cc
@@ -257,7 +257,7 @@ UNIV_INTERN ulint srv_buf_pool_curr_size = 0;
UNIV_INTERN ulint srv_mem_pool_size = ULINT_MAX;
UNIV_INTERN ulint srv_lock_table_size = ULINT_MAX;
-UNIV_INTERN ulint srv_idle_flush_pct = 100;
+UNIV_INTERN ulong srv_idle_flush_pct = 100;
/* This parameter is deprecated. Use srv_n_io_[read|write]_threads
instead. */