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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-12542-1461678427-1518.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 391
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
MIME-Version: 1.0
X-Spam-Status: No, score=-5.558 tagged_above=-99.9 required=10 tests=[AWL=0.342, BAYES_00=-1.9, FROM_OUR_RT=-4] autolearn=ham
In-Reply-To: <rt-4.0.18-12542-1461678427-1313.113999-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-113999 [...] rt.cpan.org> <rt-4.0.18-12542-1461678427-1313.113999-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <571F74A0.6030306 [...] cpan.org>
content-type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.558
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 86B2C2400AA for <cpan-bug+DBIx-Class [...] hipster.bestpractical.com>; Tue, 26 Apr 2016 10:01:19 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PBj9-baSGIW0 for <cpan-bug+DBIx-Class [...] hipster.bestpractical.com>; Tue, 26 Apr 2016 10:01:18 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A2BA2240034 for <bug-DBIx-Class [...] rt.cpan.org>; Tue, 26 Apr 2016 10:01:17 -0400 (EDT)
Received: (qmail 27490 invoked by alias); 26 Apr 2016 14:01:16 -0000
Received: from mujunyku.leporine.io (HELO mujunyku.leporine.io) (113.212.96.195) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2016 07:01:13 -0700
Received: from [10.0.13.10] (unknown [10.0.13.10]) by mujunyku.leporine.io (Postfix) with ESMTP id 7424FF4401 for <bug-DBIx-Class [...] rt.cpan.org>; Tue, 26 Apr 2016 14:01:05 +0000 (UTC)
Delivered-To: cpan-bug+DBIx-Class [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #113999] DBIx::Class::Storage::DBI::Sybase::ASE error in comparing FreeTDS version
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0
Return-Path: <ribasushi [...] cpan.org>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+DBIx-Class [...] hipster.bestpractical.com
X-RT-Mail-Extension: dbix-class
Date: Tue, 26 Apr 2016 16:01:04 +0200
X-Spam-Level:
To: bug-DBIx-Class [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Peter Rabbitson <ribasushi [...] cpan.org>
RT-Message-ID: <rt-4.0.18-1458-1461679280-1369.113999-0-0 [...] rt.cpan.org>
Content-Length: 876
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?
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-1458-1461679280-1369.113999-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-113999 [...] rt.cpan.org> <rt-4.0.18-12542-1461678427-1313.113999-4-0 [...] rt.cpan.org> <571F74A0.6030306 [...] cpan.org> <rt-4.0.18-1458-1461679280-1369.113999-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-2416-1461680280-1652.113999-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 138
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.