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

SF.net SVN: ledger-smb: [1002] trunk/LedgerSMB.pm



Revision: 1002
          http://svn.sourceforge.net/ledger-smb/?rev=1002&view=rev
Author:   einhverfr
Date:     2007-03-24 12:10:19 -0700 (Sat, 24 Mar 2007)

Log Message:
-----------
turning off server-side prepare in new code because it won't buy us anything with functions and just wastes server time

Modified Paths:
--------------
    trunk/LedgerSMB.pm

Modified: trunk/LedgerSMB.pm
===================================================================
--- trunk/LedgerSMB.pm	2007-03-24 17:42:42 UTC (rev 1001)
+++ trunk/LedgerSMB.pm	2007-03-24 19:10:19 UTC (rev 1002)
@@ -528,6 +528,8 @@
 	my $dbh = DBI->connect($myconfig->{dbconnect}, $myconfig->{dbuser}, 
 		$myconfig->{dbpasswd}, {AutoCommit => 0}) or $self->dberror;
 
+	$dbh->{pg_server_prepare} = 0;
+
 	if ($myconfig->{dboptions}) {
 		$dbh->do($myconfig->{dboptions});
 	}


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