Skip Menu |

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

Report information
The Basics
Id: 50795
Status: new
Priority: 0/
Queue: SQL-Abstract-Limit

Owner: Nobody in particular
Requestors: gunnar [...]

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

Subject: Properties ignored for select() without limit
Date: Sat, 24 Oct 2009 17:22:07 +0200
To: bug-SQL-Abstract-Limit [...]
From: Gunnar Hansson <gunnar [...]>
Download (untitled) / with headers
text/plain 648b
This is related to bug #40012: This happens only when you're not passing in a true $limit to the select() method. The problem lies in line 167: return SQL::Abstract->new->select( $table, $fields, $where, $order ) unless $rows; The new SQL::Abstract object needs to be passed the parameters passed in to $self. This would fix it: return SQL::Abstract->new(%{$self})->select( $table, $fields, $where, $order ) unless $rows; or perhaps better: return $self->SQL::Abstract::select($table, $fields, $where, $order) unless($rows); Including patch for the latter. * SQL-Abstract-Limit-0.141 * Perl 5.8.8 for darwin (mac os x)
text/x-diff 436b

Message body is not shown because sender requested not to inline it.

-- Gunnar Hansson Co-founder Hansson & Larsson AB +46 762 56 17 27

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to