Fix compile errors on x64 Windows.

Change types of srv_purge_batch_size and srv_n_purge_threads
from ulint to ulong.
This commit is contained in:
Calvin Sun 2010-05-07 16:40:30 -05:00
parent 59ecf3bb79
commit 053d75eadb
2 changed files with 4 additions and 4 deletions

View file

@ -272,10 +272,10 @@ log buffer and have to flush it */
extern ulint srv_log_waits;
/* the number of purge threads to use from the worker pool (currently 0 or 1) */
extern ulint srv_n_purge_threads;
extern ulong srv_n_purge_threads;
/* the number of records to purge in one batch */
extern ulint srv_purge_batch_size;
extern ulong srv_purge_batch_size;
/* variable that counts amount of data read in total (in bytes) */
extern ulint srv_data_read;

View file

@ -244,10 +244,10 @@ that during a time of heavy update/insert activity. */
UNIV_INTERN ulong srv_max_buf_pool_modified_pct = 75;
/* the number of purge threads to use from the worker pool (currently 0 or 1).*/
UNIV_INTERN ulint srv_n_purge_threads = 0;
UNIV_INTERN ulong srv_n_purge_threads = 0;
/* the number of records to purge in one batch */
UNIV_INTERN ulint srv_purge_batch_size = 20;
UNIV_INTERN ulong srv_purge_batch_size = 20;
/* variable counts amount of data read in total (in bytes) */
UNIV_INTERN ulint srv_data_read = 0;