[freeside-commits] freeside/FS/bin freeside-torrus-srvderive, 1.48, 1.49
Ivan,,,
ivan at wavetail.420.am
Thu Apr 28 18:36:37 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv30264/FS/bin
Modified Files:
freeside-torrus-srvderive
Log Message:
avoid deadlocks, RT#10574
Index: freeside-torrus-srvderive
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-torrus-srvderive,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -w -d -r1.48 -r1.49
--- freeside-torrus-srvderive 29 Apr 2011 01:13:20 -0000 1.48
+++ freeside-torrus-srvderive 29 Apr 2011 01:36:35 -0000 1.49
@@ -63,6 +63,11 @@
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) {
More information about the freeside-commits
mailing list