[Dbix-class] SQL::Abstract::Limit patch for _quote error

Krzysztof Krzyzaniak eloy at kofeina.net
Tue Sep 6 19:02:42 CEST 2005


Andy Grundman wrote:
> Krzysztof Krzyzaniak wrote:
> 
>>Andy Grundman wrote:
>>
>>
>>>If you've upgraded to the latest versions of SQL::Abstract and 
>>>SQL::Abstract::Limit, you may be running into an error like this one:
>>>Can't locate object method "_quote" via package ...
>>>
>>>SQL::Abstract 1.20 changed the _quote API which broke 
>>>SQL::Abstract::Limit.  The following one-line change should take care 
>>>of the issue:
>>>
>>>  sub select {
>>>      my $self   = shift;
>>>-    my $table  = SQL::Abstract::_table(shift);
>>>+    my $table  = $self->_table(shift);
>>>      my $fields = shift;
>>>      my $where  = shift; #  if ref( $_[0] ) eq 'HASH';
>>>
>>>-Andy
>>
>>
>>is upstream informed?
>>
> 
> 
> Yeah, I sent him the patch a few days ago.
> 

Fine, thank you. I will wait for upstream to upload new debian package.

   eloy
-- 
-------e-l-o-y-----------e-l-o-y- at -t-r-a-n-s-i-l-v-a-n-i-a-.-e-u-.-o-r-g------

        jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej



More information about the Dbix-class mailing list