Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 35726
Status: rejected
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



my $data2= $context->{dbh}->selectrow_hashref( "select 1 where false" ) or die $DBI::errstr; ACTIAL: died EXPECTED: not died in this case 'selectrow_hashref' returns undef, but must return '0E0'
Subject: Re: [rt.cpan.org #35726]
Date: Fri, 9 May 2008 13:35:36 -0000
To: bug-DBD-Pg [...] rt.cpan.org
From: "Greg Sabino Mullane" <greg [...] turnstep.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Show quoted text
> my $data2= $context->{dbh}->selectrow_hashref( "select 1 where false" ) > or die $DBI::errstr;
... Show quoted text
> in this case 'selectrow_hashref' returns undef, but must return '0E0'
What makes you think selectrow_hashref should return anything other than a hashref or undef? Nothing I see in the DBI docs indicate that. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200805090934 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkgkUvMACgkQvJuQZxSWSsgSwQCfXGd7iQrk/xaIAOBmyI60JnIG /LcAoOD28CdVXuercc9/L9mTROa1CC8g =osk/ -----END PGP SIGNATURE-----
No response, so rejecting.