DBD-mysql
DBD-mysql copied to clipboard
more_results is wrong for stored procedure calls [rt.cpan.org #96559]
trafficstars
Migrated from rt.cpan.org#96559 (status was 'new')
Requestors:
Attachments:
From [email protected] on 2014-06-19 12:42:19:
When executing call to stored procedure (which returns single result set) DBD::st::more_results returns true, but actually where is no more results (next fetch would complain that fetch was called without execute).
Other consequence is that no implicit dbd_st_finish is called (since mysql_more_results() is true) and statement handle never finalized when selectall_... methods is used.
Please see attached test case.