2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

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@21473 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-03-21 21:09:33 +00:00
parent 631fe3a73e
commit c812c1f6b9
2 changed files with 0 additions and 2 deletions

View File

@ -918,7 +918,6 @@ sub DbRep_Set($@) {
$prop =~ s/<c>/,/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

View File

@ -918,7 +918,6 @@ sub DbRep_Set($@) {
$prop =~ s/<c>/,/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