mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
93_DbLog: fix warning, Forum: #107950
git-svn-id: https://svn.fhem.de/fhem/trunk@21087 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a63a5c9621
commit
e00d8752fd
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 93_DbLog: fix warning, Forum: #107950
|
||||||
- feature: 98_weekprofile: new command import_profile
|
- feature: 98_weekprofile: new command import_profile
|
||||||
- bugfix: 98_weekprofile: html output for command get associations
|
- bugfix: 98_weekprofile: html output for command get associations
|
||||||
- bugfix: msgSchema: change Typo LGTV_WebOS
|
- bugfix: msgSchema: change Typo LGTV_WebOS
|
||||||
|
@ -30,6 +30,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
|
|||||||
|
|
||||||
# Version History intern by DS_Starter:
|
# Version History intern by DS_Starter:
|
||||||
our %DbLog_vNotesIntern = (
|
our %DbLog_vNotesIntern = (
|
||||||
|
"4.9.10" => "31.01.2020 fix warning, Forum: #107950 ",
|
||||||
"4.9.9" => "21.01.2020 default ParseEvent changed again, Forum: #106769 ",
|
"4.9.9" => "21.01.2020 default ParseEvent changed again, Forum: #106769 ",
|
||||||
"4.9.8" => "17.01.2020 adjust configCheck with plotEmbed check. Forum: #107383 ",
|
"4.9.8" => "17.01.2020 adjust configCheck with plotEmbed check. Forum: #107383 ",
|
||||||
"4.9.7" => "13.01.2020 change datetime pattern in valueFn of DbLog_addCacheLine. Forum: #107285 ",
|
"4.9.7" => "13.01.2020 change datetime pattern in valueFn of DbLog_addCacheLine. Forum: #107285 ",
|
||||||
@ -1556,7 +1557,7 @@ sub DbLog_Log($$) {
|
|||||||
# synchoner Mode
|
# synchoner Mode
|
||||||
return if($hash->{HELPER}{REOPEN_RUNS}); # return wenn "reopen" mit Ablaufzeit gestartet ist
|
return if($hash->{HELPER}{REOPEN_RUNS}); # return wenn "reopen" mit Ablaufzeit gestartet ist
|
||||||
my $error = DbLog_Push($hash, $vb4show, @row_array);
|
my $error = DbLog_Push($hash, $vb4show, @row_array);
|
||||||
Log3 ($name, 5, "DbLog $name -> DbLog_Push Returncode: $error") if($vb4show);
|
Log3 ($name, 5, "DbLog $name -> DbLog_Push Returncode: $error") if($error && $vb4show);
|
||||||
CancelDelayedShutdown($name) if($hash->{HELPER}{SHUTDOWNSEQ});
|
CancelDelayedShutdown($name) if($hash->{HELPER}{SHUTDOWNSEQ});
|
||||||
Log3 ($name, 2, "DbLog $name - Last database write cycle done") if(delete $hash->{HELPER}{SHUTDOWNSEQ});
|
Log3 ($name, 2, "DbLog $name - Last database write cycle done") if(delete $hash->{HELPER}{SHUTDOWNSEQ});
|
||||||
my $state = $error?$error:(IsDisabled($name))?"disabled":"connected";
|
my $state = $error?$error:(IsDisabled($name))?"disabled":"connected";
|
||||||
@ -1656,8 +1657,8 @@ sub DbLog_Push(@) {
|
|||||||
my $bi = AttrVal($name, "bulkInsert", 0);
|
my $bi = AttrVal($name, "bulkInsert", 0);
|
||||||
my $history = $hash->{HELPER}{TH};
|
my $history = $hash->{HELPER}{TH};
|
||||||
my $current = $hash->{HELPER}{TC};
|
my $current = $hash->{HELPER}{TC};
|
||||||
my $errorh = 0;
|
my $errorh = "";
|
||||||
my $error = 0;
|
my $error = "";
|
||||||
my $doins = 0; # Hilfsvariable, wenn "1" sollen inserts in Tabelle current erfolgen (updates schlugen fehl)
|
my $doins = 0; # Hilfsvariable, wenn "1" sollen inserts in Tabelle current erfolgen (updates schlugen fehl)
|
||||||
my $dbh;
|
my $dbh;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user