[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6248] addons/1.3/wxPOS/scripts/LSMBDB.pm



Revision: 6248
          http://sourceforge.net/p/ledger-smb/code/6248
Author:   einhverfr
Date:     2013-11-07 15:27:19 +0000 (Thu, 07 Nov 2013)
Log Message:
-----------
Changing autocommit to 1 to avoid locks for lookups.  Actual posting will need to run begin_work and commit.

Modified Paths:
--------------
    addons/1.3/wxPOS/scripts/LSMBDB.pm

Modified: addons/1.3/wxPOS/scripts/LSMBDB.pm
===================================================================
--- addons/1.3/wxPOS/scripts/LSMBDB.pm	2013-11-07 15:24:37 UTC (rev 6247)
+++ addons/1.3/wxPOS/scripts/LSMBDB.pm	2013-11-07 15:27:19 UTC (rev 6248)
@@ -28,7 +28,7 @@
 sub new {
  my ($class, $user, $pass, $comp, $host) = @_;
  my $self = {};
- $self->{dbh} = DBI->connect("dbi:Pg:dbname=$comp;host=$host", $user, $pass, {RaiseError => 0, AutoCommit => 0});
+ $self->{dbh} = DBI->connect("dbi:Pg:dbname=$comp;host=$host", $user, $pass, {RaiseError => 0, AutoCommit => 1});
  if ($self->{dbh}) {
   $WXPOS::State::DBH = $self->{dbh};
   bless $self, $class;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits