From 8940e999c6205401d4c53fce4e14afccc3e49255 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 27 Mar 2009 16:55:53 +0000 Subject: [PATCH] we really need AutoCommit => 1 so we see changes in koha database which happend after startup --- lib/LDAP/Koha.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LDAP/Koha.pm b/lib/LDAP/Koha.pm index 98c37dd..eec8cd1 100644 --- a/lib/LDAP/Koha.pm +++ b/lib/LDAP/Koha.pm @@ -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 -- 2.20.1