From fcd485abd44b18b6200c3bd03c62ab07bc0e36e2 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sat, 25 Sep 2021 18:11:13 +0000 Subject: [PATCH] 93_DbRep: contrib v 8.43.0 git-svn-id: https://svn.fhem.de/fhem/trunk@25019 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/93_DbRep.pm | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/fhem/contrib/DS_Starter/93_DbRep.pm b/fhem/contrib/DS_Starter/93_DbRep.pm index ec4a3c98b..eff7f979c 100644 --- a/fhem/contrib/DS_Starter/93_DbRep.pm +++ b/fhem/contrib/DS_Starter/93_DbRep.pm @@ -57,7 +57,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch'; # Version History intern my %DbRep_vNotesIntern = ( - "8.43.0" => "22.09.2021 consider attr device, reading in sqlCmd ", + "8.43.0" => "22.09.2021 consider attr device, reading in sqlCmd, remove length limit of attr device, reading ", "8.42.9" => "05.09.2021 minor fixes, change SQL for SQLite in deldoublets_DoParse ", "8.42.8" => "17.07.2021 more log data verbose 5, delete whitespaces in sub getInitData ", "8.42.7" => "27.02.2021 fix attribute sqlCmdVars is not working in sqlCmdBlocking Forum: /topic,53584.msg1135528.html#msg1135528", @@ -1444,14 +1444,6 @@ sub DbRep_Attr { unless ($success) {return "The credentials of a database admin user couldn't be read. ". "Make shure you have set them with command \"set $name adminCredentials \" before. ";} } - - if ($aName eq "reading" || $aName eq "device") { - if ($aVal !~ m/,/ && $dbmodel && $dbmodel ne 'SQLITE') { - my $attrname = uc($aName); - my $mlen = $hash->{HELPER}{DBREPCOL}{$attrname}?$hash->{HELPER}{DBREPCOL}{$attrname}:$dbrep_col{$attrname}; - return "Length of \"$aName\" is too big. Maximum length for database type $dbmodel is $mlen" if(length($aVal) > $mlen); - } - } } return;