@@ -223,7 +223,7 @@ class binlog_cache_data
223
223
public:
224
224
225
225
binlog_cache_data (bool trx_cache_arg,
226
- ulong max_binlog_cache_size_arg,
226
+ my_off_t max_binlog_cache_size_arg,
227
227
ulong *ptr_binlog_cache_use_arg,
228
228
ulong *ptr_binlog_cache_disk_use_arg)
229
229
: m_pending(0 ), saved_max_binlog_cache_size(max_binlog_cache_size_arg),
@@ -452,7 +452,7 @@ class binlog_cache_data
452
452
is configured. This corresponds to either
453
453
. max_binlog_cache_size or max_binlog_stmt_cache_size.
454
454
*/
455
- ulong saved_max_binlog_cache_size;
455
+ my_off_t saved_max_binlog_cache_size;
456
456
457
457
/*
458
458
Stores a pointer to the status variable that keeps track of the in-memory
@@ -478,7 +478,7 @@ class binlog_stmt_cache_data
478
478
{
479
479
public:
480
480
binlog_stmt_cache_data (bool trx_cache_arg,
481
- ulong max_binlog_cache_size_arg,
481
+ my_off_t max_binlog_cache_size_arg,
482
482
ulong *ptr_binlog_cache_use_arg,
483
483
ulong *ptr_binlog_cache_disk_use_arg)
484
484
: binlog_cache_data(trx_cache_arg,
@@ -517,7 +517,7 @@ class binlog_trx_cache_data : public binlog_cache_data
517
517
{
518
518
public:
519
519
binlog_trx_cache_data (bool trx_cache_arg,
520
- ulong max_binlog_cache_size_arg,
520
+ my_off_t max_binlog_cache_size_arg,
521
521
ulong *ptr_binlog_cache_use_arg,
522
522
ulong *ptr_binlog_cache_disk_use_arg)
523
523
: binlog_cache_data(trx_cache_arg,
@@ -605,10 +605,10 @@ class binlog_trx_cache_data : public binlog_cache_data
605
605
606
606
class binlog_cache_mngr {
607
607
public:
608
- binlog_cache_mngr (ulong max_binlog_stmt_cache_size_arg,
608
+ binlog_cache_mngr (my_off_t max_binlog_stmt_cache_size_arg,
609
609
ulong *ptr_binlog_stmt_cache_use_arg,
610
610
ulong *ptr_binlog_stmt_cache_disk_use_arg,
611
- ulong max_binlog_cache_size_arg,
611
+ my_off_t max_binlog_cache_size_arg,
612
612
ulong *ptr_binlog_cache_use_arg,
613
613
ulong *ptr_binlog_cache_disk_use_arg)
614
614
: stmt_cache(FALSE , max_binlog_stmt_cache_size_arg,
0 commit comments