~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
..
deb 38 15 years ago root utils for deb build Diff
debian 136.2.1 13 years ago root Added Debian rules Diff
build-binary.sh 325.1.3 12 years ago Ignacio Nin Use bzr export instead of cp -a for copying the so 3.5 KB Diff Download File
build-dpkg.sh 325.1.2 12 years ago Ignacio Nin Add a binary parameter to the debian building scri 2.7 KB Diff Download File
build-rpm.sh 290.1.1 12 years ago Ignacio Nin Upgrade version to 1.6.3 3.9 KB Diff Download File
File build.sh 307.1.10 12 years ago Stewart Smith wipe out PS/MySQL tree instead of attempting to re 7.4 KB Diff Download File
xtrabackup.spec 312.1.1 12 years ago Ignacio Nin Update versions to 1.6.4. Update versions to 1.6. 2.6 KB Diff Download File