From: Eric Bollengier Date: Mon, 15 Oct 2007 14:26:54 +0000 (+0000) Subject: ebl Using 2 transactions in brestore.pl -b mode X-Git-Tag: Release-3.0.0~2381 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=193122d38a43177bf79d235ec4271a88cf2cd36e;p=bacula%2Fbacula ebl Using 2 transactions in brestore.pl -b mode git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5751 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/brestore/ReleaseNotes b/gui/brestore/ReleaseNotes index 723a1ebc47..163243ba01 100644 --- a/gui/brestore/ReleaseNotes +++ b/gui/brestore/ReleaseNotes @@ -1,5 +1,9 @@ Release Notes for brestore 2.2.0 +Version 2.2.5-2: + - Use 2 transactions in brestore.pl -b + (you can use Ctrl-C in cleanup) + Version 2.2.5-1: - Fix warning, thanks to Tuomas Jormola diff --git a/gui/brestore/brestore.pl b/gui/brestore/brestore.pl index fb6178ceef..bfcbeaba63 100755 --- a/gui/brestore/brestore.pl +++ b/gui/brestore/brestore.pl @@ -2397,6 +2397,9 @@ sub update_cache $self->update_brestore_table(map { $_->[0] } @$jobs); + $self->{conf}->{dbh}->commit(); + $self->{conf}->{dbh}->begin_work(); + print STDERR "Cleaning path visibility\n"; my $nb = $self->dbh_do("