projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89cd0ae
)
avoid deadlocks, RT#10574
author
ivan
<ivan>
Fri, 29 Apr 2011 01:36:35 +0000
(
01:36
+0000)
committer
ivan
<ivan>
Fri, 29 Apr 2011 01:36:35 +0000
(
01:36
+0000)
FS/bin/freeside-torrus-srvderive
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-torrus-srvderive
b/FS/bin/freeside-torrus-srvderive
index
a02d23e
..
80f222b
100644
(file)
--- a/
FS/bin/freeside-torrus-srvderive
+++ b/
FS/bin/freeside-torrus-srvderive
@@
-63,6
+63,11
@@
my $orderlimit = "
LIMIT 100
"; #50?
LIMIT 100
"; #50?
+if ( driver_name eq 'mysql' ) {
+ dbh->do('SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED');
+ dbh->commit or die dbh->errstr;
+}
+
our $kids = 0;
#MAIN: while (1) {
our $kids = 0;
#MAIN: while (1) {