Re: DBI-1.48 bind_param_inout produces ORA-01461 colliding with a CLOB



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
| | | hjp@xxxxxxxxx \you enable embedded haskell as a loadable module and
__/ | http://www.hjp.at/ \write your plugins upside-down in lisp". --ae@xxxxxx

Attachment:pgp7SwuEmqMHn.pgp
Description: PGP signature



Relevant Pages

  • Re: Access 2003 runs slow after 2-3 searches
    ... txtFindDriverName = "" 'so when the query runs it returns all drivers ... Dim rs As Recordset ... And this is the code in the query ... you may have a memory leak. ...
    (microsoft.public.access.forms)
  • Re: memory issue using ADO to query Excel
    ... Memory Leak Occurs When You Query an Open Excel Worksheet Using ADO ...
    (microsoft.public.excel.programming)
  • Re: Memory leak
    ... I do have lots of methods that creates datasets, query the database and fill ... Does it have anything to do with the memory leak problem ?. ... > opening different intances of internet explorer is a red herring ...
    (microsoft.public.dotnet.framework)
  • Re: filter with vb code
    ... BUG: Memory leak occurs when you query an open Excel worksheet by using ...
    (microsoft.public.excel.programming)
  • Re: Excel Performance: How to import large data into existing worksheet.
    ... There used to be a bug in ADO, there was a big memory leak if you queried ... an open workbook. ... We had to close the workbook, query it and reopen. ...
    (microsoft.public.vsnet.vstools.office)