diff options
author | unknown <marko@hundin.mysql.fi> | 2005-03-08 11:12:18 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-03-08 11:12:18 +0200 |
commit | c9b0cbf01399c6f6bce2bbae7a56952bff3fffb2 (patch) | |
tree | f6abb1171cf1c04e76910d688e1bc6e1101f4ce1 /innobase | |
parent | a93b0b59bd1d9e92819ba5eee4a66ee2d138605f (diff) | |
download | mariadb-git-c9b0cbf01399c6f6bce2bbae7a56952bff3fffb2.tar.gz |
InnoDB: Win64 portability fix: add missing declaration and
correct the definition of srv_max_buf_pool_modified_pct.
innobase/include/srv0srv.h:
Declare srv_max_buf_pool_modified_pct
innobase/srv/srv0srv.c:
Define srv_max_buf_pool_modified_pct as ulong,
as it is declared in ha_innodb.h.
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/include/srv0srv.h | 1 | ||||
-rw-r--r-- | innobase/srv/srv0srv.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/innobase/include/srv0srv.h b/innobase/include/srv0srv.h index 30dd3db7bb1..e18ceb32bbe 100644 --- a/innobase/include/srv0srv.h +++ b/innobase/include/srv0srv.h @@ -101,6 +101,7 @@ extern ibool srv_use_doublewrite_buf; extern ibool srv_set_thread_priorities; extern int srv_query_thread_priority; +extern ulong srv_max_buf_pool_modified_pct; extern ulong srv_max_purge_lag; /*-------------------------------------------*/ diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c index 5c5d62f777b..6ac8727ee26 100644 --- a/innobase/srv/srv0srv.c +++ b/innobase/srv/srv0srv.c @@ -165,7 +165,7 @@ in the buffer pool to all database pages in the buffer pool smaller than the following number. But it is not guaranteed that the value stays below that during a time of heavy update/insert activity. */ -ulint srv_max_buf_pool_modified_pct = 90; +ulong srv_max_buf_pool_modified_pct = 90; /* If the following is != 0 we do not allow inserts etc. This protects the user from forgetting the innodb_force_recovery keyword to my.cnf */ |