Merge lp:~stewart/percona-xtrabackup/bug690822 into lp:percona-xtrabackup/2.0

Proposed by Stewart Smith
Status: Merged
Approved by: Stewart Smith
Approved revision: no longer in the source branch.
Merged at revision: 276
Proposed branch: lp:~stewart/percona-xtrabackup/bug690822
Merge into: lp:percona-xtrabackup/2.0
Diff against target: 12 lines (+1/-1)
1 file modified
patches/tar4ibd_libtar-1.2.11.patch (+1/-1)
To merge this branch: bzr merge lp:~stewart/percona-xtrabackup/bug690822
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Percona developers Pending
Review via email: mp+61493@code.launchpad.net

Description of the change

fixes problem on 32bit machines with large files silently failing.

To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'patches/tar4ibd_libtar-1.2.11.patch'
2--- patches/tar4ibd_libtar-1.2.11.patch 2011-03-15 21:58:13 +0000
3+++ patches/tar4ibd_libtar-1.2.11.patch 2011-05-18 23:34:17 +0000
4@@ -241,7 +241,7 @@
5 - int i, j;
6 - size_t size;
7 + int j, k, n_retry;
8-+ size_t i, size;
9++ long long i, size;
10 + int page_size = 4 * 1024; /* check 4K, 8K and 16K */
11
12 + block = (unsigned char *)(((unsigned long) buf + 16384 - 1) & ~(16384 - 1));

Subscribers

People subscribed via source and target branches