~akopytov/percona-xtrabackup/bug713267-1.6

  • Committer: Alexey Kopytov
  • Date: 2012-05-22 14:52:54 UTC
  • Revision ID: akopytov@gmail.com-20120522145254-v0h6obuzrg8zc6ke
Bug #1002688: innobackupex incremental apply-log copies to wrong
directory

The problem was that the copy_dir_recursively() routine relied on both
the source path and the target one to be in the canonical format,
i.e. not having any trailing slashes. However, when copying files after
merging an incremental backup to the full backup directory, the target
path (i.e. the full backup directory) was always in the canonical
format, because innobackupex calls File::Spec->rel2abs() on it in
check_args(), but the source path (i.e. the --incremental-directory
value) might not be in the canonical format in case the user specified
it with a trailing slash.

Fixed by canonizing both source and the target directories in
copy_dir_recursively() so it does not rely on the arguments format.
Filename Latest Rev Last Changed Committer Comment Size
..
innodb51_builtin.patch 303.1.1 12 years ago Alexey Kopytov Updated base versions to MySQL 5.1.59, 5.5.17 and 35.8 KB Diff Download File
innodb55.patch 328.1.1 12 years ago Alexey Kopytov Bug #938594: Assertion failure on --prepare --appl 31.1 KB Diff Download File
tar4ibd_libtar-1.2.11.patch 314.2.1 12 years ago Alexey Kopytov Bug 891496: tar4ibd crashes on multi-file tablespa 20.4 KB Diff Download File
xtradb51.patch 328.1.1 12 years ago Alexey Kopytov Bug #938594: Assertion failure on --prepare --appl 35.5 KB Diff Download File
xtradb55.patch 328.1.1 12 years ago Alexey Kopytov Bug #938594: Assertion failure on --prepare --appl 36.8 KB Diff Download File