Skip Menu |

This queue is for tickets about the SQL-Abstract CPAN distribution.

Report information
The Basics
Id: 56258
Status: resolved
Priority: 0/
Queue: SQL-Abstract

People
Owner: Nobody in particular
Requestors: mrjobson [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.64



Subject: After update to 1.63 break my code (postgres)
my ($admin) = $schema->resultset('Userlog')->search( { ip => {'<<=' => '127.0.0.1/32' }, }, { select => ['id','ip'], order_by => { -asc => ['id'] }, rows => 1, }, ); SET search_path TO contrib, public: SELECT id, ip FROM userlog me WHERE ( ip = <<=( ? ) ) ) ORDER BY id ASC LIMIT 1: '127.0.0.1/32' DBIx::Class::ResultSet::search(): DBI Exception: DBD::Pg::st execute failed: ERROR: operator does not exist: <<= unknown
Please try current trunk [1]. Issue should be fixed for good. I made a bold stupid assumption, and the lack of tests didn't prove me wrong immediately. Apologies. [1] http://dev.catalyst.perl.org/repos/bast/SQL-Abstract/1.x/trunk/
From: mrjobson [...] gmail.com
On Sat Apr 03 20:21:00 2010, RIBASUSHI wrote: Show quoted text
> Please try current trunk [1]. Issue should be fixed for good. I made a > bold stupid assumption, and the lack of tests didn't prove me wrong > immediately. Apologies. > > [1] http://dev.catalyst.perl.org/repos/bast/SQL-Abstract/1.x/trunk/
Thanks, trunk version works as before!