diff --git a/fhem/contrib/DS_Starter/93_DbLog.pm b/fhem/contrib/DS_Starter/93_DbLog.pm
index 3f2abc380..c27e3938d 100644
--- a/fhem/contrib/DS_Starter/93_DbLog.pm
+++ b/fhem/contrib/DS_Starter/93_DbLog.pm
@@ -16,6 +16,7 @@
############################################################################################################################################
# Versions History done by DS_Starter & DeeSPe:
#
+# 3.12.4 10.10.2018 give non-saved datasets back in asynch mode only if transaction is used
# 3.12.3 08.10.2018 Log output of recuceLogNbl enhanced, some functions renamed
# 3.12.2 07.10.2018 $hash->{HELPER}{REOPEN_RUNS_UNTIL} contains the time the DB is closed
# 3.12.1 19.09.2018 use Time::Local (forum:#91285)
@@ -212,7 +213,7 @@ use Time::Local;
use Encode qw(encode_utf8);
no if $] >= 5.017011, warnings => 'experimental::smartmatch';
-my $DbLogVersion = "3.12.3";
+my $DbLogVersion = "3.12.4";
my %columns = ("DEVICE" => 64,
"TYPE" => 64,
@@ -2098,7 +2099,7 @@ sub DbLog_PushAsync(@) {
$errorh = $@;
Log3 $hash->{NAME}, 2, "DbLog $name -> Error table history - $errorh";
$error = encode_base64($errorh,"");
- $rowlback = $rowlist;
+ $rowlback = $rowlist if($useta); # nicht gespeicherte Datensätze nur zurück geben wenn Transaktion ein
}
# update or insert current
@@ -5800,15 +5801,16 @@ sub DbLog_dbReadings($@) {
attr <device> commitMode [basic_ta:on | basic_ta:off | ac:on_ta:on | ac:on_ta:off | ac:off_ta:on]
- Change the usage of database autocommit- and/or transaction- behavior.
- This attribute is an advanced feature and should only be used in a concrete case of need or support case.
+ Change the usage of database autocommit- and/or transaction- behavior.
+ If transaction "off" is used, not saved datasets are not returned to cache in asynchronous mode.
+ This attribute is an advanced feature and should only be used in a concrete situation or support case.