summarylogtreecommitdiffstats
path: root/mysql-srv_buf_size.patch
diff options
context:
space:
mode:
authorMuflone2015-11-01 21:32:44 +0100
committerMuflone2015-11-01 21:32:44 +0100
commitc6db5b413581e37195e2d6ec13f49a35bf2a8bed (patch)
treeda22f35f447fabd8b98248f2a8fe0208e7f2d1cb /mysql-srv_buf_size.patch
downloadaur-c6db5b413581e37195e2d6ec13f49a35bf2a8bed.tar.gz
New package base mysql56 5.6.27-1
Diffstat (limited to 'mysql-srv_buf_size.patch')
-rw-r--r--mysql-srv_buf_size.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-srv_buf_size.patch b/mysql-srv_buf_size.patch
new file mode 100644
index 000000000000..12212fcc345c
--- /dev/null
+++ b/mysql-srv_buf_size.patch
@@ -0,0 +1,20 @@
+--- storage/innobase/row/row0log.cc.orig 2013-07-10 16:17:27.000000000 +0000
++++ storage/innobase/row/row0log.cc 2013-08-21 12:48:22.216656556 +0000
+@@ -2364,7 +2364,7 @@ all_done:
+ 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 @@ all_done:
+ 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;