[Dbix-class] Duplicate me.id in WHERE clause of simple query
Peter Rabbitson
rabbit+dbic at rabbit.us
Mon Jan 24 14:22:28 GMT 2011
Winfried Neessen wrote:
> Hi,
>
> Now if I have a look at the DBI_TRACE output of this action, the
> corresponding query looks like this:
> ===================================================
> SELECT me.id, me.praxis, [...] me.email FROM praxis me WHERE ( ( me.id =
> ? AND me.id = ? ) ): '1', '1'
> ===================================================
>
>
> And I am wondering why DBIx::Class add the duplicate me.id in the WHERE
> clause.
My first guess would be you are using a very old version of DBIx::Class.
This has been fixed a while ago, please upgrade (or let us know if this
is happening on the latest 0.08127).
Also I think you mean DBIC_TRACE (the output sure looks like it).
More information about the DBIx-Class
mailing list