mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
:debug version
git-svn-id: https://svn.fhem.de/fhem/trunk@25839 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0588989703
commit
add2d05162
@ -1293,11 +1293,11 @@ sub _cfgDB_deleteStatefiles {
|
|||||||
$uuid = substr($filename,0,32);
|
$uuid = substr($filename,0,32);
|
||||||
my $found = $fhem_dbh->selectrow_array("SELECT versionuuid FROM fhemversions WHERE versionuuid = '$uuid'");
|
my $found = $fhem_dbh->selectrow_array("SELECT versionuuid FROM fhemversions WHERE versionuuid = '$uuid'");
|
||||||
$found //= -1; # to prevent perl warning
|
$found //= -1; # to prevent perl warning
|
||||||
Debug "file: >$filename<";
|
Log 1, "file: >$filename<";
|
||||||
Debug "uuid: >$uuid<";
|
Log 1, "uuid: >$uuid<";
|
||||||
Debug "found: >$found<";
|
Log 1, "found: >$found<";
|
||||||
unless ($uuid eq $found) {
|
unless ($uuid eq $found) {
|
||||||
Debug "del >$filename<";
|
Log 1, "del >$filename<";
|
||||||
# $fhem_dbh->do("delete from fhemb64filesave where filename = '$filename'");
|
# $fhem_dbh->do("delete from fhemb64filesave where filename = '$filename'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user