Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 113999
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: tomk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.082820
  • 0.082821
Fixed in: (no value)



Subject: DBIx::Class::Storage::DBI::Sybase::ASE error in comparing FreeTDS version
Download (untitled) / with headers
text/plain 391b
In Line 125: if ( $self->_using_freetds && (my $ver = $self->_using_freetds_version||999) > 0.82 ) { My FreeTDS version reports "0.91.103" which will cause the numerical comparison to fail and lead to a warning and wrongly disabled cached statements. Either "_using_freetds_version" in DBIx::Class::Storage::DBI::Sybase or the comparison should be fixed. Best Regards Thomas
Subject: Re: [rt.cpan.org #113999] DBIx::Class::Storage::DBI::Sybase::ASE error in comparing FreeTDS version
Date: Tue, 26 Apr 2016 16:01:04 +0200
To: bug-DBIx-Class [...] rt.cpan.org
From: Peter Rabbitson <ribasushi [...] cpan.org>
Download (untitled) / with headers
text/plain 876b
On 04/26/2016 03:47 PM, Thomas Kratz via RT wrote: Show quoted text
> Tue Apr 26 09:47:07 2016: Request 113999 was acted upon. > Transaction: Ticket created by TOMK > Queue: DBIx-Class > Subject: DBIx::Class::Storage::DBI::Sybase::ASE error in comparing FreeTDS > version > Broken in: 0.082820, 0.082821 > Severity: Normal > Owner: Nobody > Requestors: tomk@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113999 > > > > In Line 125: > > if ( > $self->_using_freetds > && > (my $ver = $self->_using_freetds_version||999) > 0.82 > ) { > > My FreeTDS version reports "0.91.103"
Which *is* the version that no longer works with prepared statements: https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.082821/Changes#L429-434 I.e. this is a case of "newer is worse". Or am I misunderstanding something?
Download (untitled) / with headers
text/plain 138b
Sorry I'm blind. You are right. The comparison works and the right consequences are warned about. Please close/reject the ticket Thomas


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.