DBD-mysql icon indicating copy to clipboard operation
DBD-mysql copied to clipboard

more_results is wrong for stored procedure calls [rt.cpan.org #96559]

Open mbeijen opened this issue 8 years ago • 0 comments
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.

mbeijen avatar Nov 14 '17 19:11 mbeijen