Merge lp:~akopytov/percona-xtrabackup/bug771981-1.6 into lp:percona-xtrabackup/1.6

Proposed by Alexey Kopytov
Status: Merged
Approved by: Stewart Smith
Approved revision: no longer in the source branch.
Merged at revision: 353
Proposed branch: lp:~akopytov/percona-xtrabackup/bug771981-1.6
Merge into: lp:percona-xtrabackup/1.6
Diff against target: 26 lines (+3/-6)
1 file modified
innobackupex (+3/-6)
To merge this branch: bzr merge lp:~akopytov/percona-xtrabackup/bug771981-1.6
Reviewer Review Type Date Requested Status
Stewart Smith (community) Approve
Review via email: mp+136877@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) wrote :
Revision history for this message
Stewart Smith (stewart) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'innobackupex'
2--- innobackupex 2012-11-22 01:51:22 +0000
3+++ innobackupex 2012-11-29 09:27:29 +0000
4@@ -393,7 +393,7 @@
5 wait_for_safe_slave();
6 }
7
8- if (!$option_incremental && !$option_no_lock) {
9+ if (!$option_no_lock) {
10 # make a prep copy before locking tables, if using rsync
11 backup_files(1);
12
13@@ -413,11 +413,8 @@
14 # resume ibbackup and wait till it has finished
15 my $ibbackup_exit_code = resume_ibbackup();
16
17- if (!$option_incremental) {
18- # release read locks on all tables
19- mysql_unlockall() if !$option_no_lock;
20-
21- }
22+ # release read locks on all tables
23+ mysql_unlockall() if !$option_no_lock;
24
25 if ( $option_safe_slave_backup && $host_is_slave ) {
26 print STDERR "$prefix: Starting slave SQL thread\n";

Subscribers

People subscribed via source and target branches