File percona-xtrabackup-2.1.x-mysql-5.6.15-srv_buf_size.patch of Package xtrabackup.openSUSE_13.1_Update

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.

---
 mysql-5.6.15/storage/innobase/row/row0log.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: percona-xtrabackup-2.1.7/mysql-5.6.15/storage/innobase/row/row0log.cc
===================================================================
--- percona-xtrabackup-2.1.7.orig/mysql-5.6.15/storage/innobase/row/row0log.cc	2013-11-17 18:02:53.000000000 +0000
+++ percona-xtrabackup-2.1.7/mysql-5.6.15/storage/innobase/row/row0log.cc	2014-01-25 23:58:54.000000000 +0000
@@ -2323,7 +2323,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;
@@ -3142,7 +3142,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;
openSUSE Build Service is sponsored by