Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 124721
Status: new
Priority: 0/
Queue: DBI

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

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

Subject: fetchall_arrayref({}) in certain cases
Download (untitled) / with headers
text/plain 683b
Some DBD drivers, like DBD::Sybase, could return undef for $sth->FETCH("NAME") in certain cases. When calling fetchall_arrayref({}), it could cause an error like "Can't use an undefined value as an ARRAY reference at .../ line 2081", which is this line IMHO it could be better to change this line to below my @column_names = @{ $sth->FETCH($sth->FETCH('FetchHashKeyName')) || [] }; We also have old DBI version 1.616 and that one does not have the issue. I think this issue appears after DBI 1.619. There was a similar report several years ago

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

Please report any issues with to