summaryrefslogtreecommitdiff
path: root/sql/wsrep_binlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/wsrep_binlog.h')
-rw-r--r--sql/wsrep_binlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_binlog.h b/sql/wsrep_binlog.h
index 1e820529211..864813d5c98 100644
--- a/sql/wsrep_binlog.h
+++ b/sql/wsrep_binlog.h
@@ -19,7 +19,7 @@
#include "sql_class.h" // THD, IO_CACHE
#define HEAP_PAGE_SIZE 65536 /* 64K */
-#define WSREP_MAX_WS_SIZE (0xFFFFFFFFUL - HEAP_PAGE_SIZE)
+#define WSREP_MAX_WS_SIZE 2147483647 /* 2GB */
/*
Write the contents of a cache to a memory buffer.