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:
parent
7f0c656caf
commit
a6b9dff48e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue