~laurynas-biveinis/percona-xtrabackup/bug1044398-2.0

Viewing all changes in revision 467.

  • Committer: Laurynas Biveinis
  • Date: 2012-09-11 10:18:37 UTC
  • Revision ID: laurynas.biveinis@percona.com-20120911101837-e38c453p4pu5si9n
Fix bug 1044398 (Handling of compressed tablespaces with compressed
page size == server page size broken)

The problem was that incremental backup table metadata format,
after fixing bug 932623, did not contain a compression flag nor a
compressed page size.  Instead, it stored only a page size, and
compression was implied whenever page size < UNIV_PAGE_SIZE.  This
assumption breaks with compressed page size == UNIV_PAGE_SIZE.

Fixed by storing a new field zip_size in the metadata and using it for
tablespace creation instead of the assumptions.

Added new test bug1044398 to assert that zip_size absence in the delta
metadata is fatal.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: