Don't record fs_id:inode_number and time of backup for each instance by default

We don't actually use that information.
This commit is contained in:
hjp 2019-09-08 09:05:40 +00:00
parent 7f0c656caf
commit a6b9dff48e
1 changed files with 5 additions and 2 deletions

View File

@ -85,6 +85,8 @@ sub new {
$self->{unknown_gid} = 65533;
$self->{fh_log} = exists($opt->{fh_log}) ? $opt->{fh_log} : \*STDERR;
$self->{log_level} = 99;
$self->{record_file_id} = 0;
$self->{record_time} = 0;
if ($opt->{dbi}) {
$self->{dbh} = DBI->connect(@{ $opt->{dbi} },
{ AutoCommit => 0,
@ -516,8 +518,9 @@ sub db_record_version {
push @{ $self->{caches}{insert_instances} },
[
$db_f->[0]{id},
$f->{id},
time(), 1,
$self->{record_file_id} ? $f->{id} : undef,
$slef->{record_time} ? time() : undef,
1,
$self->{session_id}, $version_id
];
if (@{ $self->{caches}{insert_instances} } > 10) {