summaryrefslogtreecommitdiffstats
path: root/abs/core/mysql/mysql-srv_buf_size.patch
blob: 12212fcc345c61c893c57aa75eac6f41a3704a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;