projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DBConnect Caching: rollback nur bei Handles ohne AutoCommit
[kivitendo-erp.git]
/
SL
/
DBConnect
/
Cache.pm
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 {