File percona-xtrabackup-2.2.x-srv_buf_size.patch of Package xtrabackup
From: Michal Hrusecky <mhrusecky@suse.cz>
Date: Fri, 16 Aug 2013 14:03:07 +0200
Subject: Rename srv_buf_size variable
References: http://bugs.mysql.com/bug.php?id=70047
Upstream: reported
Variable was probably renamed sometime in the past but error was not triggered
because ifdef was not satisfied.
---
storage/innobase/row/row0log.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: percona-xtrabackup-2.2.3/storage/innobase/row/row0log.cc
===================================================================
--- percona-xtrabackup-2.2.3.orig/storage/innobase/row/row0log.cc 2014-06-12 09:01:25.000000000 +0100
+++ percona-xtrabackup-2.2.3/storage/innobase/row/row0log.cc 2014-07-06 00:03:36.000000000 +0100
@@ -2562,7 +2562,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;
@@ -3390,7 +3390,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;