Fixed, thanks.
Tim.
On Sat, Nov 30, 2002 at 11:32:56PM +0100, Ian Barwick wrote:
> Hi
>
> A bug report for a segfault caused by wrong syntax in
> fetchrow_hashref:
>
> I meant to write:
>
> my $ref = $q->fetchall_hashref('foo_id');
>
> but I actually wrote:
>
> my $ref = $q->fetchrow_hashref('foo_id');
>
> and got a segmentation fault.
>
> When I replace 'foo_id' with 'FOO_ID' I get
>
> Can't get DBI::st=HASH(0x80f38e0)->{FOO_ID}: unrecognised attribute at
> hashref.pl line 11.
>
> The same occurs with both DBI::Oracle (1.12) and DBD::Pg (1.12)
> using DBI 1.30.
>
> As the problem only occurs through erroneous syntax, I presume
> it's non-critical/urgent, but thought a report might be useful.
>
>
> Ian Barwick
> [EMAIL PROTECTED]
>
>