mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
93_DbLog.pm: contrib V 5.10.0
git-svn-id: https://svn.fhem.de/fhem/trunk@28655 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a2b2705aef
commit
0eb64496fd
@ -5771,12 +5771,12 @@ sub DbLog_readCfg {
|
||||
delete $hash->{COMPRESSION};
|
||||
|
||||
if ($hash->{MODEL} =~ /MYSQL/xs) {
|
||||
$hash->{UTF8} = defined $dbconfig->{utf8} ? $dbconfig->{utf8} : 0;
|
||||
$hash->{COMPRESSION} = defined $dbconfig->{compression} ? $dbconfig->{compression} : 0;
|
||||
$hash->{UTF8} = $dbconfig->{utf8} if(defined $dbconfig->{utf8});
|
||||
$hash->{COMPRESSION} = $dbconfig->{compression} if(defined $dbconfig->{compression});
|
||||
}
|
||||
|
||||
if ($hash->{MODEL} =~ /MARIADB/xs) {
|
||||
$hash->{COMPRESSION} = defined $dbconfig->{compression} ? $dbconfig->{compression} : 0;
|
||||
$hash->{COMPRESSION} = $dbconfig->{compression} if(defined $dbconfig->{compression});
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user