Bug#711574: libdbix-dbschema-perl: tables returned in hash order with perl 5.18
Damyan Ivanov
dmn at debian.org
Wed Aug 14 06:51:32 UTC 2013
Control: severity -1 important
-=| Dominic Hargreaves, 08.06.2013 00:13:29 +0100 |=-
> Source: libdbix-dbschema-perl
> Version: 0.40-3
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.18-transition
> Tags: sid jessie
> Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=83035
> Affects: libjifty-dbi-perl
>
> This package causes a FTBFS in libjifty-dbi-perl with perl 5.18 from
> experimental (in a clean sbuild session). As per the upstream bug report:
>
> "This causes variations in returned schemas when running under perl 5.17.6,
> which randomizes the hash-key ordering much more aggressively. Just like
> DBIx::DBSchema::Table->Columns, the DBIx::DBSchema->Tables method
> shouldn't rely on the keys() built-in to return the list of tables. At
> the very least, it should get a sort() wrapped around it. Ideally the
> tables would be sorted by the order in which they were added, like
> columns, but that requires a little more change."
I have uploaded a new upstream release of libjifty-dbi-perl, which
compensates for the lack of ordering in the returned data.
I wonder how severe this bug is now, and if it is a bug at all, or
just like the SQL databases, in absence of explicit ordering, data may
be returned in arbitrary order.
Lowering severity for now.
More information about the pkg-perl-maintainers
mailing list