Is DBD::ODBC breaking the rules with this optimisation?

2010-12-13 Thread Martin J. Evans
See RT http://rt.cpan.org/Public/Bug/Display.html?id=63550 which started this off. DBD::ODBC optimises calls to the do method when no parameters are involved. Normally do is just a shortcut for prepare/execute except it should only be for non-result-set generating statements and hence does not

Re: Is DBD::ODBC breaking the rules with this optimisation?

2010-12-13 Thread Tim Bunce
On Mon, Dec 13, 2010 at 05:30:10PM +, Martin J. Evans wrote: See RT http://rt.cpan.org/Public/Bug/Display.html?id=63550 which started this off. DBD::ODBC optimises calls to the do method when no parameters are involved. Normally do is just a shortcut for prepare/execute except it