[Dbix-class] SQLA bug with >>= operator

Toby Corkindale toby.corkindale at strategicdata.com.au
Fri Apr 23 02:00:01 GMT 2010


On 22/04/10 18:57, Peter Rabbitson wrote:
> Toby Corkindale wrote:
>> I  think this is actually an SQL::Abstract bug, but the SQLA docs say to
>> try the dbic mailing lists for support, so..
>>
>>
>> Steps to reproduce under SQL::Abstract:
>> my $sql = SQL::Abstract->new;
>> my($stmt, @bind) = $sql->select('foo', 'foo', {
>>          address =>  { '>>=' =>  '10.2.3.4' },
>>      }
>> );
>>
>> $stmt contains:
>> SELECT foo FROM foo WHERE ( address =>>=( ? ) )
>> what it *should* contain:
>> SELECT foo FROM foo WHERE ( address>>= ? )
>>
>
> Upgrade SQL::Abstract.

Gah, I only updated it a few weeks ago, I thought I was up-to-date!

Sorry, you're right, it's fixed in 1.65, and I was on 1.63.

Cheers,
Toby



More information about the DBIx-Class mailing list