From 193122d38a43177bf79d235ec4271a88cf2cd36e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 15 Oct 2007 14:26:54 +0000 Subject: [PATCH] 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 --- gui/brestore/ReleaseNotes | 4 ++++ gui/brestore/brestore.pl | 3 +++ 2 files changed, 7 insertions(+) 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(" -- 2.39.5