From b3b9daff917fce96672fa6db33d8cb906de053b8 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sat, 21 Mar 2020 21:09:33 +0000 Subject: [PATCH] 93_DbRep: add column header for custom selects (sqlCmd), new sqlSpecial readingsDifferenceByTimeDelta for MySQL, bugfix: FHEM crash if no time-attribute is set and time git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21473 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/93_DbRep.pm | 1 - contrib/DS_Starter/93_DbRep.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/FHEM/93_DbRep.pm b/FHEM/93_DbRep.pm index 46939d98b..789e6ba47 100644 --- a/FHEM/93_DbRep.pm +++ b/FHEM/93_DbRep.pm @@ -918,7 +918,6 @@ sub DbRep_Set($@) { $prop =~ s//,/g; # noch aus Kompatibilitätsgründen enthalten $prop =~ s/(\x20)*\xbc/,/g; # Forum: https://forum.fhem.de/index.php/topic,103908.0.html $sqlcmd = $prop; - Log3 ($name, 1, "DbRep $name - com: $sqlcmd"); if($sqlcmd eq "___purge_historylist___") { delete($hash->{HELPER}{SQLHIST}); DbRep_setCmdFile($name."_sqlCmdList","",$hash); # Löschen der sql History Liste im DbRep-Keyfile diff --git a/contrib/DS_Starter/93_DbRep.pm b/contrib/DS_Starter/93_DbRep.pm index ebd57d6f9..e5739cd86 100644 --- a/contrib/DS_Starter/93_DbRep.pm +++ b/contrib/DS_Starter/93_DbRep.pm @@ -918,7 +918,6 @@ sub DbRep_Set($@) { $prop =~ s//,/g; # noch aus Kompatibilitätsgründen enthalten $prop =~ s/(\x20)*\xbc/,/g; # Forum: https://forum.fhem.de/index.php/topic,103908.0.html $sqlcmd = $prop; - Log3 ($name, 1, "DbRep $name - com: $sqlcmd"); if($sqlcmd eq "___purge_historylist___") { delete($hash->{HELPER}{SQLHIST}); DbRep_setCmdFile($name."_sqlCmdList","",$hash); # Löschen der sql History Liste im DbRep-Keyfile