From: Sven Schöling Date: Tue, 15 Sep 2015 15:37:10 +0000 (+0200) Subject: DBConnect Caching: rollback nur bei Handles ohne AutoCommit X-Git-Tag: release-3.4.1~737 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d6138be82164a47633942ae567d17c44372c3139;p=kivitendo-erp.git DBConnect Caching: rollback nur bei Handles ohne AutoCommit Beseitigt die nervigen Warnungen im Log --- diff --git a/SL/DBConnect/Cache.pm b/SL/DBConnect/Cache.pm index e45965f22..7e4633b69 100644 --- a/SL/DBConnect/Cache.pm +++ b/SL/DBConnect/Cache.pm @@ -36,7 +36,7 @@ sub reset { } sub reset_all { - $_->rollback for values %cache; + $_->{AutoCommit} || $_->rollback for values %cache; } sub clear {