2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 09:55:38 +00:00

93_DbLog: contrib 5.5.7

git-svn-id: https://svn.fhem.de/fhem/trunk@26873 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2022-12-19 22:23:30 +00:00
parent fef71d91db
commit 0aab3d989a

View File

@ -2944,7 +2944,10 @@ sub _DbLog_SBP_onRun_LogArray {
Log3 ($name, 4, "DbLog $name - Transaction is switched on. Transferred data is returned to the cache.");
}
};
}
else {
__DbLog_SBP_commitOnly ($name, $dbh, $history);
}
no warnings 'uninitialized';
@ -2989,9 +2992,7 @@ sub _DbLog_SBP_onRun_LogArray {
}
}
__DbLog_SBP_commitOnly ($name, $dbh, $history) if(!$error);
if(defined $rowhref) { # nicht gespeicherte Datensätze ausgeben
if (defined $rowhref) { # nicht gespeicherte Datensätze ausgeben
Log3 ($name, 2, "DbLog $name - The following data are faulty and were not saved:");
DbLog_logHashContent ($name, $rowhref, 2);