Re: Problem with procedures returning a SYS_REFCURSOR which is not open/executed - possible fixes

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Fri, Jan 11, 2013 at 04:04:13PM +0000, Martin J. Evans wrote:
> My second sub attempt was to outright lie and set dbd_describe_done
> and leave Active off so from perl land I just need to test Active
> flag. This works and is a safer change since it ONLY applies to sth
> handles magicked into existence for returned cursors. Also, if you
> attempt to do anything else with the sth it errors as it should:
> 
> DBD::Oracle::st fetch failed: ERROR no statement executing (perhaps
> you need to call execute first) at bz1245.pl line 16.
> 
> Wondered if anyone else had any thoughts on this.

Sounds good to me. Thanks for looking after this Martin.

Tim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.