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 |
|
|
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 |