summaryrefslogtreecommitdiff
path: root/community/percona-server/mysql56-bufsize.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/percona-server/mysql56-bufsize.patch')
-rw-r--r--community/percona-server/mysql56-bufsize.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/percona-server/mysql56-bufsize.patch b/community/percona-server/mysql56-bufsize.patch
new file mode 100644
index 000000000..1d5b7dc63
--- /dev/null
+++ b/community/percona-server/mysql56-bufsize.patch
@@ -0,0 +1,20 @@
+--- storage/innobase/row/row0log.cc.orig 2013-10-14 09:44:46.060172260 +0200
++++ storage/innobase/row/row0log.cc 2013-10-14 10:05:51.822170509 +0200
+@@ -2364,7 +2364,7 @@
+ and be ignored when the operation is unsupported. */
+ fallocate(index->online_log->fd,
+ FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
+- ofs, srv_buf_size);
++ ofs, srv_sort_buf_size);
+ #endif /* FALLOC_FL_PUNCH_HOLE */
+
+ next_mrec = index->online_log->head.block;
+@@ -3153,7 +3153,7 @@
+ and be ignored when the operation is unsupported. */
+ fallocate(index->online_log->fd,
+ FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
+- ofs, srv_buf_size);
++ ofs, srv_sort_buf_size);
+ #endif /* FALLOC_FL_PUNCH_HOLE */
+
+ next_mrec = index->online_log->head.block;