Merge lp:~percona-dev/percona-xtrabackup/fixed_xb_export into lp:percona-xtrabackup/2.0

Proposed by Valentine Gostev
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 247
Proposed branch: lp:~percona-dev/percona-xtrabackup/fixed_xb_export
Merge into: lp:percona-xtrabackup/2.0
Diff against target: 12 lines (+1/-1)
1 file modified
test/t/xb_export.sh (+1/-1)
To merge this branch: bzr merge lp:~percona-dev/percona-xtrabackup/fixed_xb_export
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+57974@code.launchpad.net

This proposal supersedes a proposal from 2011-04-15.

Description of the change

Left only this change:
2. Added option --innodb_file_per_table to xtrabackup while doing export

To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) wrote : Posted in a previous version of this proposal

As discussed on IRC, the proper way to fix this is to make run.sh detect the version dynamically, so the test is skipped for non-Percona servers.

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 'test/t/xb_export.sh'
2--- test/t/xb_export.sh 2011-03-13 15:52:22 +0000
3+++ test/t/xb_export.sh 2011-04-16 00:43:23 +0000
4@@ -44,7 +44,7 @@
5 vlog "Database was re-initialized"
6
7 run_cmd ${MYSQL} ${MYSQL_ARGS} -e "alter table test discard tablespace;" incremental_sample
8-run_cmd xtrabackup --no-defaults --datadir=$mysql_datadir --prepare --export --target-dir=$backup_dir
9+run_cmd xtrabackup --no-defaults --datadir=$mysql_datadir --prepare --export --target-dir=$backup_dir --innodb_file_per_table
10 run_cmd cp $backup_dir/incremental_sample/test* $mysql_datadir/incremental_sample/
11 run_cmd ls -lah $mysql_datadir/incremental_sample/
12 run_cmd ${MYSQL} ${MYSQL_ARGS} -e "alter table test import tablespace" incremental_sample

Subscribers

People subscribed via source and target branches