Skip Menu |

This queue is for tickets about the Class-DBI CPAN distribution.

Report information
The Basics
Id: 13038
Status: resolved
Priority: 0/
Queue: Class-DBI

People
Owner: Nobody in particular
Requestors: cpan_rt [...] account.loath.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.96
Fixed in: 3.0.3



Subject: Doubled column in __ESSENTIAL__ expansion
In the Film tests, columns are declared thus: __PACKAGE__->columns('Primary', 'Title'); __PACKAGE__->columns('Essential', qw( Title )); When you use the __ESSENTIAL__ transform_sql expansion, you get "title, title" rather than "title". is (Film->transform_sql("SELECT __ESSENTIAL__ FROM __TABLE__"), "SELECT title, title FROM Movies", "doubled __ESSENTIAL__ expansion");
[guest - Tue May 31 11:46:13 2005]: Show quoted text
> In the Film tests, columns are declared thus: > __PACKAGE__->columns('Primary', 'Title'); > __PACKAGE__->columns('Essential', qw( Title )); > When you use the __ESSENTIAL__ transform_sql expansion, you get > "title, title" rather than "title".
This is because the call to ->essential was returning the column twice. This has been fixed for the next release. Thanks, Tony
Show quoted text
> > When you use the __ESSENTIAL__ transform_sql expansion, you get > > "title, title" rather than "title".
> This is because the call to ->essential was returning the column > twice. > This has been fixed for the next release.
This has been released now as 3.0.3 Thanks for your patience. Tony