Merge lp:~sergei.glushchenko/percona-xtrabackup/bug733651_mycnf_opt-1.6 into lp:percona-xtrabackup/1.6
Proposed by
Sergei Glushchenko
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 332 |
Proposed branch: | lp:~sergei.glushchenko/percona-xtrabackup/bug733651_mycnf_opt-1.6 |
Merge into: | lp:percona-xtrabackup/1.6 |
Diff against target: |
136 lines (+83/-10) 3 files modified
innobackupex (+46/-10) test/t/bug733651.sh (+32/-0) xtrabackup.c (+5/-0) |
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-xtrabackup/bug733651_mycnf_opt-1.6 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+90375@code.launchpad.net |
Description of the change
Bug #733651
backup-my.cnf file generated and placed into the backup doesn't include
fast-checksums, and therefore the preparation stage fails when run on a
different server that doesn't have this parameter included in the
my.cnf file.
Following parameters were added to backup-my.cnf:
- innodb_page_size
- innodb_
- innodb_
Jenkins buld:
http://
To post a comment you must log in.
Sergei,
On 27.01.12 10:14, Sergei Glushchenko wrote:
> @@ -2192,7 +2202,35 @@
> }
>
>
> +# has_option return whether the config has an option with the given name
> +# Parameters:
> +# config_ref a reference to a config data
> +# group option group name
> +# option_name name of the option
> +# Return value:
> +# true if option exists, otherwise false
> #
> +sub has_option {
> + my $config_ref = shift;
> + my $group = shift;
> + my $option_name = shift;
> + my $default_value = shift;
> + my $group_hash_ref;
> + my $option_value;
You don't seem to be using $default_value and $option_value. Otherwise
looks good to me.