/[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 44 by dpavlin, Sat Aug 20 11:24:55 2005 UTC revision 45 by dpavlin, Sat Aug 20 11:39:05 2005 UTC
# Line 294  sub found_in_db { Line 294  sub found_in_db {
294          my @param = ($shareID,$path,$name,$date,$size);          my @param = ($shareID,$path,$name,$date,$size);
295          $sth->{file_in_db}->execute(@param);          $sth->{file_in_db}->execute(@param);
296          my ($rows) = $sth->{file_in_db}->fetchrow_array();          my ($rows) = $sth->{file_in_db}->fetchrow_array();
297  #       print STDERR ( $rows ? '+' : '-' ), join(" ",@param), "\n";          print STDERR "## found_in_db ",( $rows ? '+' : '-' ), join(" ",@param), "\n" if ($debug >= 3);
298          return $rows;          return $rows;
299  }  }
300    
# Line 313  sub recurseDir($$$$$$$$) { Line 313  sub recurseDir($$$$$$$$) {
313          { # scope          { # scope
314                  my @stack;                  my @stack;
315    
316                    print STDERR "# dirAttrib($backupNum, $share, $dir)\n" if ($debug >= 2);
317                  my $filesInBackup = $files->dirAttrib($backupNum, $share, $dir);                  my $filesInBackup = $files->dirAttrib($backupNum, $share, $dir);
318    
319                  # first, add all the entries in current directory                  # first, add all the entries in current directory

Legend:
Removed from v.44  
changed lines
  Added in v.45

  ViewVC Help
Powered by ViewVC 1.1.26