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

Owner: Nobody in particular
Requestors: KES [...]

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

Download (untitled) / with headers
text/plain 196b
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: [ #35726]
Date: Fri, 9 May 2008 13:35:36 -0000
To: bug-DBD-Pg [...]
From: "Greg Sabino Mullane" <greg [...]>
Download (untitled) / with headers
text/plain 679b
-----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 PGP Key: 0x14964AC8 200805090934 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkgkUvMACgkQvJuQZxSWSsgSwQCfXGd7iQrk/xaIAOBmyI60JnIG /LcAoOD28CdVXuercc9/L9mTROa1CC8g =osk/ -----END PGP SIGNATURE-----
No response, so rejecting.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to