mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
93_DbLog: contrib 5.5.7
git-svn-id: https://svn.fhem.de/fhem/trunk@26876 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f605718c31
commit
f8a4ca89a7
@ -2780,7 +2780,10 @@ sub _DbLog_SBP_onRun_LogBulk {
|
||||
|
||||
__DbLog_SBP_commitOnly ($name, $dbh, $history);
|
||||
}
|
||||
|
||||
|
||||
if ($operation eq 'importCachefile') {
|
||||
return ($error, $nins_hist, $rowlback);
|
||||
}
|
||||
|
||||
if (lc($DbLogType) =~ m(current)) {
|
||||
$error = __DbLog_SBP_onRun_LogCurrent ( { subprocess => $subprocess,
|
||||
@ -2796,10 +2799,6 @@ sub _DbLog_SBP_onRun_LogBulk {
|
||||
);
|
||||
}
|
||||
|
||||
if ($operation eq 'importCachefile') {
|
||||
return ($error, $nins_hist, $rowlback);
|
||||
}
|
||||
|
||||
my $rt = tv_interval($st); # SQL-Laufzeit ermitteln
|
||||
my $brt = tv_interval($bst); # Background-Laufzeit ermitteln
|
||||
my $ot = $rt.",".$brt;
|
||||
@ -4093,7 +4092,7 @@ sub __DbLog_SBP_beginTransaction {
|
||||
my $name = shift;
|
||||
my $dbh = shift;
|
||||
my $useta = shift;
|
||||
my $info = shift // "begin transaction";
|
||||
my $info = shift // "begin Transaction";
|
||||
|
||||
my $err = q{};
|
||||
|
||||
@ -4148,7 +4147,7 @@ sub __DbLog_SBP_rollbackOnly {
|
||||
|
||||
eval{ if(!$dbh->{AutoCommit}) {
|
||||
$dbh->rollback();
|
||||
Log3 ($name, 4, "DbLog $name - transaction rollback table $table");
|
||||
Log3 ($name, 4, "DbLog $name - Transaction rollback table $table");
|
||||
1;
|
||||
}
|
||||
else {
|
||||
@ -6698,7 +6697,7 @@ sub DbLog_addCacheLine {
|
||||
|
||||
use warnings;
|
||||
|
||||
eval { # one transaction
|
||||
eval { # one Transaction
|
||||
my $memcount = DbLog_addMemCacheRow ($name, $row); # Datensatz zum Memory Cache hinzufügen
|
||||
|
||||
if ($async) {
|
||||
|
Loading…
Reference in New Issue
Block a user