dmoses2@uwo.ca wrote:
I didn't send this to the list, because it might be a false lead. It talks about the problem of running two processes... Have a look at. http://www.mail-archive.com/dbi-users@perl.org/msg18091.html
Kudos, that's it, i'm (almost) sure. On line 246, replace : my $stj=$dbh->prepare("update z3950results set active=1 where id=?"); by my $stj=$dbi->prepare("update z3950results set active=1 where id=?"); As $dbh is defined BEFORE the fork, and may create the problem, while $dbi is defined INSIDE the if{} following the fork and is a process-specific handler. confirm this works on the list pls. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (1)
-
paul POULAIN