we really need AutoCommit => 1 so we see changes
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 27 Mar 2009 16:55:53 +0000 (16:55 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 27 Mar 2009 16:55:53 +0000 (16:55 +0000)
in koha database which happend after startup

lib/LDAP/Koha.pm

index 98c37dd..eec8cd1 100644 (file)
@@ -26,7 +26,7 @@ our $max_results = 10; # 100; # FIXME
 
 require 'config.pl' if -e 'config.pl';
 
-my $dbh = DBI->connect($dsn . $database, $user,$passwd, { RaiseError => 1, AutoCommit => 0 }) || die $DBI::errstr;
+my $dbh = DBI->connect($dsn . $database, $user,$passwd, { RaiseError => 1, AutoCommit => 1 }) || die $DBI::errstr;
 
 # Net::LDAP::Entry will lc all our attribute names anyway, so
 # we don't really care about correctCapitalization for LDAP