Skip Menu |

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

Report information
The Basics
Id: 58635
Status: resolved
Priority: 0/
Queue: DBD-SQLite

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

Bug Information
Severity: Important
Broken in:
  • 1.29
  • 1.30_03
Fixed in: (no value)



Subject: t/13_create_collation.t crashes in Perl 5.13.2
Hi guys, DBD::SQLite fails test suite in t/13_create_collation.t on Perl 5.13.2. I've tested on several installations under Debian and Windows (with differents compilers), both 1.29 and 1.30_03. Perl crashes during execution of line 130: $db_sorted = $dbh->selectcol_arrayref("$sql COLLATE no_accents"); Having so much identical failures, I think this bug can be easily reproduced, but if not, let me know so I can provide more details. -- Serguei Trouchelle
Hi. I confirmed the crash. I'm not sure why yet, but there seems to be an ugly workaround such as duplicating the original function (no_accents) with other name like "no_accents_dup" and setting its code reference to the collation hash ($DBD::SQLite::COLLATION{no_accents} = \&no_accents_dup;). I'm rather doubting if this is our bug... Thanks for the report, Kenichi On 2010-6-23 Wed 09:53:05, STRO wrote: Show quoted text
> Hi guys, > > DBD::SQLite fails test suite in t/13_create_collation.t on Perl
5.13.2. Show quoted text
> I've tested on several installations under Debian and Windows (with > differents compilers), both 1.29 and 1.30_03. > > Perl crashes during execution of line 130: > > $db_sorted = $dbh->selectcol_arrayref("$sql COLLATE no_accents"); > > Having so much identical failures, I think this bug can be easily > reproduced, but if not, let me know so I can provide more details.
Perl 5.13.3 doesn't have mentioned problem. I suppose it was something with 5.13.2. -- Serguei Trouchelle