Re: DBD::mysql Re: Why is selectrow_hashref complaining about a fetch without execute?
Tim Bunce <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 20, 2015 at 08:55:40AM +0100, Martin J. Evans wrote: > On 19/07/15 15:41, Tim Bunce wrote: > > Please also see the issue I reported in DBI back in 2012: > > https://rt.cpan.org/Ticket/Display.html?id=81911 > > I had to add various workarounds and a warning to DBD::ODBC. Ah, thanks for the reminder Martin! I'll add a comment on that case. Any thoughts about the general principle of changing the XS execute to return the value of the DBIc_ROW_COUNT IV if the int returned by dbd_st_execute is > 0 and DBIc_ROW_COUNT > 0? Tim.