From 40cb6890b0b7db89dccd699f2659418d26973743 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Fri, 27 Sep 2019 07:43:09 +0000 Subject: [PATCH] 93_DbRep: contrib 8.27.2 git-svn-id: https://svn.fhem.de/fhem/trunk@20258 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/93_DbRep.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/DS_Starter/93_DbRep.pm b/fhem/contrib/DS_Starter/93_DbRep.pm index 99e2a3a16..02e7b673f 100644 --- a/fhem/contrib/DS_Starter/93_DbRep.pm +++ b/fhem/contrib/DS_Starter/93_DbRep.pm @@ -58,7 +58,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch'; # Version History intern our %DbRep_vNotesIntern = ( - "8.27.2" => "26.09.2019 fix log of export data to file ", + "8.27.2" => "26.09.2019 fix export data to file ", "8.27.1" => "22.09.2019 comma are shown in sqlCmdHistory, Forum: #103908 ", "8.27.0" => "15.09.2019 save memory usage by eliminating \$hash -> {dbloghash}, fix warning uninitialized value \$idevice in split ", "8.26.0" => "07.09.2019 make SQL Wildcard (\%) possible as placeholder in a reading list: https://forum.fhem.de/index.php/topic,101756.0.html ". @@ -5068,6 +5068,7 @@ sub deldoublets_DoParse($) { $dev =~ s/'/''/g; # escape ' with '' $read =~ s/'/''/g; # escape ' with '' $val =~ s/'/''/g; # escape ' with '' + $val =~ s/\\/\\\\/g; # escape ' with '' $st = [gettimeofday]; my $dsql = "delete FROM $table WHERE TIMESTAMP = '$dt' AND DEVICE = '$dev' AND READING = '$read' AND VALUE = '$val' limit $limit;"; my $sthd = $dbh->prepare($dsql); @@ -5422,7 +5423,6 @@ sub expfile_DoParse($) { } $rsf =~ s/[:\s]/_/g; - # my ($f,$e) = split(/\./,$file); my ($f,$e) = $file =~ /(.*)\.(.*)/; $e = $e?$e:""; $f =~ s/%TSB/$rsf/g;