On 2005-07-13 13:00:28 -0400, Steven Lembark wrote:
> The code that blows up is a generic query handler.
> The code here returns a closure bound for a
> specific query. In this case, for an
> insert ... returning query:
>
> ...
>
> my @bound = ( 1..$total );
>
> my @copy = ( 0..$countz{insert}-1 );
> my @return = ( $countz{insert} .. $#bound );
>
> $sth->bind_param_inout( $_+1, \$bound[$_], 4096 )
> for( 0 .. $#bound );
How generic has does the query handler have to be? Can you get rid of
the bind_param_inout? If you don't bind the parameters explicitely and
just pass them as parameters to execute, DBD::Oracle will perform the
necessary magic for you.
hp
--
_ | Peter J. Holzer \Beta means "we're down to fixing misspelled comments in
|_|_) | Sysadmin WSR \the source, and you might run into a memory leak if
| | | [EMAIL PROTECTED] \you enable embedded haskell as a loadable module
and
__/ | http://www.hjp.at/ \write your plugins upside-down in lisp". [EMAIL
PROTECTED]
pgp2mMv0ykRjr.pgp
Description: PGP signature
