Branch: refs/heads/master Home: https://github.com/perl5-dbi/dbi Commit: 49b330e4d1d7983813084d661b5b2990ea63874f https://github.com/perl5-dbi/dbi/commit/49b330e4d1d7983813084d661b5b2990ea63874f Author: Dan McGee <dmc...@barracuda.com> Date: 2016-04-21 (Thu, 21 Apr 2016)
Changed paths: M DBI.pm Log Message: ----------- Fix fetchall_arrayref({}) behavior with no columns When no columns were present in a result set, fetchall_arrayref({}) died because the resulting arguments to bind_columns were incorrect (by virtue of not existing at all). Since there can't be results with an empty column set, this fixes the issue by returning an empty result set in that case. This issue was first referenced in November 2012: http://www.nntp.perl.org/group/perl.dbi.users/2012/11/msg36513.html