[freeside-commits] freeside/FS/bin freeside-torrus-srvderive, 1.47, 1.48
Ivan,,,
ivan at wavetail.420.am
Thu Apr 28 18:13:22 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv25869/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.47
retrieving revision 1.48
diff -u -w -d -r1.47 -r1.48
--- freeside-torrus-srvderive 24 Apr 2011 23:26:45 -0000 1.47
+++ freeside-torrus-srvderive 29 Apr 2011 01:13:20 -0000 1.48
@@ -102,8 +102,10 @@
exit unless @serviceids; #don't try to search for empty virtual ports
#nonlocking select statements; rows in this table never change
- dbh->do('SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED')
- if driver_name eq 'mysql';
+ if ( driver_name eq 'mysql' ) {
+ dbh->do('SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED');
+ dbh->commit or die dbh->errstr;
+ }
my @in = ();
for my $dir ('_IN', '_OUT') {
More information about the freeside-commits
mailing list