FAQ
Branch: refs/heads/master
   Home: https://github.com/perl5-dbi/dbi
   Commit: 49b330e4d1d7983813084d661b5b2990ea63874f
       https://github.com/perl5-dbi/dbi/commit/49b330e4d1d7983813084d661b5b2990ea63874f
   Author: Dan McGee <dmcgee@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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdbi-dev @
categoriesperl
postedApr 21, '16 at 2:27p
activeApr 21, '16 at 2:27p
posts1
users1
websitedbi.perl.org

1 user in discussion

Dan McGee: 1 post

People

Translate

site design / logo © 2019 Grokbase