2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-28 02:44:53 +00:00

configDB: version for debug only

git-svn-id: https://svn.fhem.de/fhem/trunk@22288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2020-06-27 17:35:34 +00:00
parent 972979c277
commit 815d27b00f

@ -536,7 +536,11 @@ sub cfgDB_SaveState {
$val =~ s/;/;;/g;
$val =~ s/\n/\\\n/g;
$out = "setstate $d $rd->{TIME} $c $val";
push @rowList, $out;
if (length($out) > 65530) {
Debug "setstate $d $c: value too long!";
} else {
push @rowList, $out;
}
}
}
}