2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

configDB.pm: add debug informations

git-svn-id: https://svn.fhem.de/fhem/trunk@20119 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2019-09-07 10:54:05 +00:00
parent 953bc2bd65
commit 1af0a1e78f

View File

@ -708,7 +708,8 @@ sub _cfgDB_Connect() {
sub _cfgDB_InsertLine($$$$) {
my ($fhem_dbh, $uuid, $line, $counter) = @_;
my ($c,$d,$p1,$p2) = split(/ /, $line, 4);
Log(5,"c:$c d:$d p1:$p1 p2:$p2 l:$counter u:$uuid");
$p2 //= "";
Log(0,"c:$c d:$d p1:$p1 p2:$p2 l:$counter u:$uuid");
my $sth = $fhem_dbh->prepare('INSERT INTO fhemconfig values (?, ?, ?, ?, ?, ?)');
$sth->execute($c, $d, $p1, $p2, $counter, $uuid);
return;