From 294de6d5f51d990d5f47f10fa0bc58369a6b6ad0 Mon Sep 17 00:00:00 2001 From: dpavlin Date: Sun, 29 Jan 2006 17:29:13 +0000 Subject: [PATCH] Hyper Estraier URI is now host:share#num /path/to/file git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@313 8392b6e1-25fa-0310-8288-cc32f8e212ea --- bin/BackupPC_updatedb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/BackupPC_updatedb b/bin/BackupPC_updatedb index 309bcd5..4a0ceb3 100755 --- a/bin/BackupPC_updatedb +++ b/bin/BackupPC_updatedb @@ -15,7 +15,7 @@ use BackupPC::SearchLib; use Cwd qw/abs_path/; use constant BPC_FTYPE_DIR => 5; -use constant EST_CHUNK => 100000; +use constant EST_CHUNK => 4096; # daylight saving time change offset for 1h my $dst_offset = 60 * 60; @@ -198,9 +198,7 @@ sub hest_update { while (my $row = $sth->fetchrow_hashref()) { - my $fid = $row->{'fid'} || die "no fid?"; - my $uri = 'file:///' . $fid; - + my $uri = $row->{hname} . ':' . $row->{sname} . '#' . $row->{backupnum} . ' ' . $row->{filepath}; unless ($skip_check) { my $id = $hest_node->uri_to_id($uri); next if ($id && $id == -1); -- 2.20.1