Re: DBD::Oracle and Perl 5.8.2 threads

2004-01-07 Thread Gerald Richter
> > Code snippet 2 (http://shortestpath.org/threads2.html) now starts > all 50 threads but dumps core (and it's a nice big 40Mb core :) when > trying to join the first one. > I think we should wait to debug this problem, until the problem in Perl itself was solved. Gerald P.S. The core is 40Mb

Re: segv in pad.c with threads (was: DBD::Oracle and Perl 5.8.2 threads)

2004-01-07 Thread Tim Bunce
On Wed, Jan 07, 2004 at 09:54:59PM +, Dave Mitchell wrote: > On Wed, Jan 07, 2004 at 08:41:24AM -0800, Michael Peppler wrote: > > If you have DBI installed, then the following script reproduces the > > problem: > > Thanks. I've managed to strip that down to the following pure Perl test > case

Re: Perl Upgrade & Bundle::DBI

2004-01-07 Thread Tim Bunce
Maybe your CPAN.pm config is altering @INC somehow. Tim. On Wed, Jan 07, 2004 at 01:08:00PM -0600, [EMAIL PROTECTED] wrote: > > On 07-Jan-2004 Tim Bunce wrote: > > On Wed, Jan 07, 2004 at 11:03:23AM -0600, [EMAIL PROTECTED] wrote: > >> > >> Has anyone done a 5.8.1 install, then use CPAN to inst

Re: ADO-2.82/3 Storable Error with DBIProxy

2004-01-07 Thread Peter Hircock
> > Peter Hircock wrote: > >> I get a Storable error on the $sth->execute call when using DBI proxy to >> call the DBD::ADO driver. I fell back to DBD-ADO-2.73 an did not get >> the same error. > > I'm trying to setup a test environment, but have some problems: > > Child died: Storable binary i

Re: ADO-2.82/3 Storable Error with DBIProxy

2004-01-07 Thread Peter Hircock
Correct, the problem starts with version 2.77, 2.76 is fine. I also had to fall back to DBI 1.38 for the 2.73/2.76 versions to work. Peter > > Peter Hircock wrote: > >> Yes, can you tell me how to get the previous versions. > > E.g. > > >

Re: Perl Upgrade & Bundle::DBI

2004-01-07 Thread shildreth
On 07-Jan-2004 Tim Bunce wrote: > On Wed, Jan 07, 2004 at 11:03:23AM -0600, [EMAIL PROTECTED] wrote: >> >> Has anyone done a 5.8.1 install, then use CPAN to install Bundle::DBI with a 5.6.1 >> perl installed on the server? When I install perl 5.8.1 on the server then use a >> CPAN script to inst

Re: Perl Upgrade & Bundle::DBI

2004-01-07 Thread Tim Bunce
On Wed, Jan 07, 2004 at 11:03:23AM -0600, [EMAIL PROTECTED] wrote: > > Has anyone done a 5.8.1 install, then use CPAN to install Bundle::DBI with a 5.6.1 > perl installed on the server? When I install perl 5.8.1 on the server then use a > CPAN script to install modules, the serever will hang or o

Perl Upgrade & Bundle::DBI

2004-01-07 Thread shildreth
Has anyone done a 5.8.1 install, then use CPAN to install Bundle::DBI with a 5.6.1 perl installed on the server? When I install perl 5.8.1 on the server then use a CPAN script to install modules, the serever will hang or on an alpha it will run out of swap space, when the make test portion of DBI

Re: CREATE DATABASE fails in DBD::ADO 2.75-2.83

2004-01-07 Thread Steffen Goeldner
Ed Belisle wrote: > support for CREATE and DROP DATABASE appears to have stopped working > between DBA::ADO versions 2.74 and 2.75. I have tested with MDAC 2.7 > SP1 and MDAC 2.8 RTM, and all DBD::ADO Versions from 2.70 through 2.83. Sorry for the late reply! Indeed, 2.75 reports more errors. I

Re: ADO-2.82/3 Storable Error with DBIProxy

2004-01-07 Thread Steffen Goeldner
Peter Hircock wrote: > Yes, can you tell me how to get the previous versions. E.g. Steffen

Re: Does DBD::Oracle support bulk binds ?

2004-01-07 Thread Kristian Nielsen
Sean Kelly <[EMAIL PROTECTED]> writes: > Does DBD::Oracle support bulk binds at the Oracle OCI level? I know from > the DBI documentation that you can submit an array of parameters > to "execute" but the docs state that the default behaviour is for DBI to > iterate over each set of values an

Does DBD::Oracle support bulk binds ?

2004-01-07 Thread Sean Kelly
Hi, Does DBD::Oracle support bulk binds at the Oracle OCI level? I know from the DBI documentation that you can submit an array of parameters to "execute" but the docs state that the default behaviour is for DBI to iterate over each set of values and call execute once for each. The DBD::Or

Re: ADO-2.82/3 Storable Error with DBIProxy

2004-01-07 Thread Steffen Goeldner
Peter Hircock wrote: > I get a Storable error on the $sth->execute call when using DBI proxy to > call the DBD::ADO driver. I fell back to DBD-ADO-2.73 an did not get > the same error. I'm trying to setup a test environment, but have some problems: Child died: Storable binary image v29.32 m

Re: DBI primary_key tests fail: oracle 8

2004-01-07 Thread Tim Bunce
Thanks. Tim. On Tue, Jan 06, 2004 at 11:29:14PM -, Andy Hassall wrote: > Eric Lenio wrote: > > OK Tim. One other note -- after reading through oracle docs, I think > > you might want to substitute 'session_user' for 'current_schema' in > > 'select sys_context(...)'. The definition of session

Re: handling oracle long data types

2004-01-07 Thread praveen
thanks andy. i was doing something exactly like that. but it turns out that the problem lies with some control characters that were embedded in the value that i was retrieving as long. so after a simple ... $db_fetched_long_val=~s/[[:cntrl:]]//g ... the string comparison worked. Andy Crichton

RE: handling oracle long data types

2004-01-07 Thread Andy Crichton
You can simply select an oracle 'long' in the same way as a char type. create table longtest (longfield long); insert into longtest values ('aaa'); insert into longtest values ('bbb'); $sth=$dbh->prepare('select * from longtest'); $sth->execute; while (my @row=$sth->fetchrow_array){ print