projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1853d25
)
DBConnect Caching: rollback nur bei Handles ohne AutoCommit
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 15 Sep 2015 15:37:10 +0000
(17:37 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 15 Sep 2015 15:37:48 +0000
(17:37 +0200)
Beseitigt die nervigen Warnungen im Log
SL/DBConnect/Cache.pm
patch
|
blob
|
history
diff --git
a/SL/DBConnect/Cache.pm
b/SL/DBConnect/Cache.pm
index
e45965f
..
7e4633b
100644
(file)
--- 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 {