projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
144668a
)
not working?
author
ivan
<ivan>
Thu, 19 May 2011 17:30:44 +0000
(17:30 +0000)
committer
ivan
<ivan>
Thu, 19 May 2011 17:30:44 +0000
(17:30 +0000)
torrus/perllib/Torrus/Collector/ExtDBI.pm
patch
|
blob
|
history
diff --git
a/torrus/perllib/Torrus/Collector/ExtDBI.pm
b/torrus/perllib/Torrus/Collector/ExtDBI.pm
index
a4fe4fc
..
22876c0
100644
(file)
--- a/
torrus/perllib/Torrus/Collector/ExtDBI.pm
+++ b/
torrus/perllib/Torrus/Collector/ExtDBI.pm
@@
-14,7
+14,7
@@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-# $Id: ExtDBI.pm,v 1.
2 2011-04-29 01:13:20
ivan Exp $
+# $Id: ExtDBI.pm,v 1.
3 2011-05-19 17:30:44
ivan Exp $
# Stanislav Sinyagin <ssinyagin@yahoo.com>
## Pluggable backend module for ExternalStorage
# Stanislav Sinyagin <ssinyagin@yahoo.com>
## Pluggable backend module for ExternalStorage
@@
-64,7
+64,7
@@
sub backendOpenSession
if( defined( $dbh ) )
{
if( defined( $dbh ) )
{
- if ( $dbh->{Driver}->{Name} =~ /
^
mysql/i ) {
+ if ( $dbh->{Driver}->{Name} =~ /mysql/i ) {
$dbh->do('SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED');
$dbh->commit();
}
$dbh->do('SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED');
$dbh->commit();
}