Re: (Fwd) DBD::Oracle (CLOB and sp)
From: Ronald J Kimball (rjk-dbi_at_focalex.com)
Date: 12/10/03
- Next message: Deen: "socket."
- Previous message: Ronald J Kimball: "Re: (Fwd) RE: DBD::Oracle: closing bound cursors"
- In reply to: Odilon Oliveira \: "Re: (Fwd) DBD::Oracle (CLOB and sp)"
- Next in thread: Odilon Oliveira \: "Re: (Fwd) DBD::Oracle (CLOB and sp)"
- Reply: Odilon Oliveira \: "Re: (Fwd) DBD::Oracle (CLOB and sp)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Dec 2003 09:33:21 -0500 To: "Odilon Oliveira [ builder ]" <builder@brasnet.org>
On Tue, Dec 09, 2003 at 09:29:39PM -0800, Odilon Oliveira [ builder ] wrote:
> Execution:
>
> dbdev:/cgi/pl # perl clob.pl
> Segmentation fault
I've had DBD::Oracle segfault when I try to bind undef to a CLOB. I don't
know if this will work for you, but try setting $vreturn to the empty
string before you call bind_param_inout().
Ronald
> > > > # local variables
> > > > $id = 1;
> > > > my $vreturn;
> > > >
> > > > $stmt = $dbh->prepare("BEGIN get_custumer_info(?, ?); END;");
> > > > $stmt->bind_param(1, $id);
> > > > $stmt->bind_param_inout(2, \$vreturn, {ora_type => ORA_CLOB});
- Next message: Deen: "socket."
- Previous message: Ronald J Kimball: "Re: (Fwd) RE: DBD::Oracle: closing bound cursors"
- In reply to: Odilon Oliveira \: "Re: (Fwd) DBD::Oracle (CLOB and sp)"
- Next in thread: Odilon Oliveira \: "Re: (Fwd) DBD::Oracle (CLOB and sp)"
- Reply: Odilon Oliveira \: "Re: (Fwd) DBD::Oracle (CLOB and sp)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|