summaryrefslogtreecommitdiff
path: root/innobase/srv
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-03-01 09:27:09 +0200
committerunknown <marko@hundin.mysql.fi>2005-03-01 09:27:09 +0200
commit61ffbc31ae2172d3282288bc8c4520ea493c92ae (patch)
tree1a9c1b8d9f8957f668b336cb364a923ecd4425d5 /innobase/srv
parentebdbe9e5c307a3f593c561e81538bca66cecf751 (diff)
downloadmariadb-git-61ffbc31ae2172d3282288bc8c4520ea493c92ae.tar.gz
InnoDB: Fix compilation errors on IA-64 Windows
innobase/include/srv0srv.h: Declare srv_auto_extend_increment and srv_max_purge_lag as ulong, because ulint and ulong are of different size on Win64. innobase/srv/srv0srv.c: Declare srv_auto_extend_increment and srv_max_purge_lag as ulong, because ulint and ulong are of different size on Win64.
Diffstat (limited to 'innobase/srv')
-rw-r--r--innobase/srv/srv0srv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c
index 217a97d84a2..5c5d62f777b 100644
--- a/innobase/srv/srv0srv.c
+++ b/innobase/srv/srv0srv.c
@@ -86,7 +86,7 @@ ulint srv_last_file_size_max = 0; /* if != 0, this tells
the max size auto-extending
may increase the last data
file size */
-ulint srv_auto_extend_increment = 8; /* If the last data file is
+ulong srv_auto_extend_increment = 8; /* If the last data file is
auto-extended, we add this
many pages to it at a time */
ulint* srv_data_file_is_raw_partition = NULL;
@@ -849,7 +849,7 @@ srv_general_init(void)
/*======================= InnoDB Server FIFO queue =======================*/
/* Maximum allowable purge history length. <=0 means 'infinite'. */
-ulint srv_max_purge_lag = 0;
+ulong srv_max_purge_lag = 0;
/*************************************************************************
Puts an OS thread to wait if there are too many concurrent threads