From 5b30afa96a2568839b227162819a8a326946a375 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 2 Sep 2006 07:15:49 +0000 Subject: [PATCH] ebl fix file estimation git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3397 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/brestore/brestore.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/brestore/brestore.pl b/gui/brestore/brestore.pl index 55e8f0434d..81c04ee7e7 100755 --- a/gui/brestore/brestore.pl +++ b/gui/brestore/brestore.pl @@ -2712,11 +2712,12 @@ sub estimate_restore_size my $inclause = $entry->[3]; # curjobids $query = "SELECT Path.Path, File.FilenameId, File.Lstat - FROM File, Path + FROM File, Path, Filename WHERE Path.PathId = File.PathId AND Path.Path = '$dir/' AND Filename.Name = '$file' - AND File.JobId = $jobid"; + AND File.JobId = $jobid + AND Filename.FilenameId = File.FilenameId"; } print $query,"\n" if $debug; -- 2.39.5