in reply to Threading (Perl 5.8 ithreads) with Oracle 9i dumps core
Have you tried running this:
in the main thread before you start the other threads? $dbh should be cloned to each thread automatically (and probably correctly) because the ora_dbh_share attribute was set.my $dbh = DBI->connect("dbi:Oracle:host=localhost;sid=testdb1", "user1 +", "pass1", +{ ora_dbh_share => \$orashr} ) || die $!;
Liz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Threading (Perl 5.8 ithreads) with Oracle 9i dumps core
by fx (Pilgrim) on Dec 21, 2003 at 15:45 UTC |