~stewart/percona-xtrabackup/gcc46-warnings-backport

Viewing all changes in revision 241.

  • Committer: Alexey Kopytov
  • Date: 2011-03-28 15:28:40 UTC
  • mfrom: (223.3.1 percona-xtrabackup)
  • Revision ID: akopytov@gmail.com-20110328152840-77xyw5wvzz0tn3rj
Bug #672384: --stats does not work

The problem was that 'xtrabackup --stats' crashed when used on a backup
with no log files created. That's not a documented usage, the XtraBackup
manual explicitly states that one needs correctly sized log files to use
the statistics feature.

Fixed xtrabackup so that when no log files can be found in the backup
directory, a descriptive error message is printed instead of crashing.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: