diff --git a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h index 44c1cd2ae63..e5f019e8ce3 100644 --- a/storage/innobase/include/srv0srv.h +++ b/storage/innobase/include/srv0srv.h @@ -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; diff --git a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c index 9ddb7a2f046..55251f81435 100644 --- a/storage/innobase/srv/srv0srv.c +++ b/storage/innobase/srv/srv0srv.c @@ -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;