/[BackupPC]/trunk/bin/BackupPC_updatedb
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/BackupPC_updatedb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 89 by dpavlin, Sun Aug 28 17:04:12 2005 UTC revision 90 by dpavlin, Sun Aug 28 17:42:25 2005 UTC
# Line 113  sub hest_update { Line 113  sub hest_update {
113                          -- files.name                   AS filename,                          -- files.name                   AS filename,
114                          files.path                      AS filepath,                          files.path                      AS filepath,
115                          files.date                      AS date,                          files.date                      AS date,
116                          files.type                      AS filetype,                          files.type                      AS type,
117                          files.size                      AS size,                          files.size                      AS size,
118                          files.shareid                   AS shareid,                          files.shareid                   AS shareid,
119                          backups.date                    AS backup_date                          backups.date                    AS backup_date
# Line 165  sub hest_update { Line 165  sub hest_update {
165                  my $fid = $row->{'fid'} || die "no fid?";                  my $fid = $row->{'fid'} || die "no fid?";
166                  my $uri = 'file:///' . $fid;                  my $uri = 'file:///' . $fid;
167    
168                  next if ($db->uri_to_id($uri));                  my $id = $db->uri_to_id($uri);
169                    next unless ($id == -1);
170    
171                  # create a document object                  # create a document object
172                  my $doc = HyperEstraier::Document->new;                  my $doc = HyperEstraier::Document->new;

Legend:
Removed from v.89  
changed lines
  Added in v.90

  ViewVC Help
Powered by ViewVC 1.1.26