mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
93_DbRep: V5.2.1, bugfix in sqlCmd to support PRAGMA, UTF8
git-svn-id: https://svn.fhem.de/fhem/trunk@14574 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8dc3ee0ff3
commit
d3f49e95f6
@ -4868,7 +4868,7 @@ sub optimise_tables {
|
||||
|
||||
foreach $tablename (@tablenames) {
|
||||
#optimize table if engine supports optimization
|
||||
$engine = uc($db_tables->{$tablename}{Engine});
|
||||
$engine = uc($db_tables->{$tablename}{Engine}) if($db_tables->{$tablename}{Engine});
|
||||
|
||||
if ($engine =~ /(MYISAM|BDB|INNODB|ARIA)/) {
|
||||
Log3($name, 3, "DbRep $name - Optimizing table `$tablename` ($engine). It will take a while.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user