Re: (Fwd) DBD::Oracle (CLOB and sp)

From: Ronald J Kimball (rjk-dbi_at_focalex.com)
Date: 12/10/03


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});



Relevant Pages

  • fixing random segfaults
    ... run it result in "Segmentation Fault". ... How can I tell what's causing the segfault? ... uncomment the print statements, it will say "Waiting for thread number 1 to ... foreach my $thr { ...
    (comp.lang.perl)
  • Re: help - recent YOU (Online Update) breaks system - ide modules?!
    ... but they don't flash like a normal kernel panic] ... but twice, we see a segfault with htp37x2.o, or am i ... stuff, then a segfault, then we see the second segfault. ...
    (alt.os.linux.suse)
  • Re: gtali Segmentation fault
    ... Hi tested this on Redhat 7.3 all these other files ... segfault when run with the same args. ... >Subject: gtali Segmentation fault ...
    (Vuln-Dev)
  • program crashes *after* exit
    ... I'm writing a program that appears to work, except that I get a segfault ... The crash seems to come after the end of the actual code - a gdb ... backtrace looks like this: ... Program received signal SIGSEGV, Segmentation fault. ...
    (comp.programming)
  • Re: How to test memory allocation with new ?
    ... the segmentation fault was actually for the reason you gave. ... > but not a segfault) ... > How do I test memory allocation with new? ...
    (comp.lang.cpp)