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:
DS_Starter
2022-12-19 22:23:30 +00:00
parent 7e98f2ea3b
commit 944e013a25

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);