Skip Menu |
 

This queue is for tickets about the DBD-ODBC CPAN distribution.

Report information
The Basics
Id: 72534
Status: resolved
Priority: 0/
Queue: DBD-ODBC

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

Bug Information
Severity: Important
Broken in: 1.31
Fixed in: 1.32_4



Subject: Unwanted debugging output appears on console
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1059
I'm running Microsoft Windows Server 2003 SP2, ActivePerl 5.12.4, DBI 1.616 and DBD-ODBC 1.31 (in the 'site' area, ActivePerl came with 1.29 in the 'perl' area). I wrote a script to test database fetches, and in the console appeared a number of lines that just said 'HERE'. I used the debugger that comes with the ActiveState Perl Development Kit to step through the program, and the lines appeared when the statement $st->bind_param() was being called. So (using TextPad, my preferred text editor), I searched all files in my c:\Perl\site\lib directory for an all upper-case word 'HERE' and found it in the file: C:\Perl\site\lib\auto\DBD\ODBC\ODBC.dll FYI, the file properties say the file was created on Tuesday, November 08, 2011, 10:27:21 AM and has size 98,405 bytes TextPad actually allowed me to change the string 'HERE' to the string 'DEIG' and sure enough, when I re-ran my test script, the 'HERE' lines now appear as 'DEIG'. I'm assuming that someone left some debugging code in there. I hadn't seen this behavior before, but some of the recent
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-6889-1321644863-464.72534-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1754
Download (untitled) / with headers
text/plain 1.7k
On Fri Nov 18 14:10:48 2011, jdeighan wrote: Show quoted text
> I'm running Microsoft Windows Server 2003 SP2, ActivePerl 5.12.4, DBI > 1.616 and DBD-ODBC 1.31 (in the 'site' area, ActivePerl came with 1.29 > in the 'perl' area). I wrote a script to test database fetches, and in > the console appeared a number of lines that just said 'HERE'. I used the > debugger that comes with the ActiveState Perl Development Kit to step > through the program, and the lines appeared when the statement > $st->bind_param() was being called. So (using TextPad, my preferred text > editor), I searched all files in my c:\Perl\site\lib directory for an > all upper-case word 'HERE' and found it in the file: > > C:\Perl\site\lib\auto\DBD\ODBC\ODBC.dll > > FYI, the file properties say the file was created on Tuesday, November > 08, 2011, 10:27:21 AM and has size 98,405 bytes > > TextPad actually allowed me to change the string 'HERE' to the string > 'DEIG' and sure enough, when I re-ran my test script, the 'HERE' lines > now appear as 'DEIG'. I'm assuming that someone left some debugging code > in there. > > I hadn't seen this behavior before, but some of the recent
Gross embarressment - I always diff stuff before checking in so I'm amazed I missed this. I will remove it from the subversion trunk tonight and it will be fixed in the next release which will be in the next few days. You can remove it yourself so long as you install MinGW from ActiveState. Just download latest DBD::ODBC, untar it and edit dbdimp.c to remove the printf containing "HERE". Write it out then do run cpan and install . Thanks again for the report. The debug is in an obscure area of DBD::ODBC so few people are going to see it but it needs fixing. Martin -- Martin J. Evans Wetherby, UK
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-6889-1321644863-464.72534-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-6889-1321644863-464.72534-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-10497-1321647432-1071.72534-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 82
Fixed in trunk of subversion now. Thanks Martin -- Martin J. Evans Wetherby, UK
From john.deighan [...] gmail.com Fri Nov 18 15: 25:55 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.21 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-6889-1321644864-931.72534-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-72534 [...] rt.cpan.org> <rt-3.8.HEAD-6889-1321644864-931.72534-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <CA+b=dkpxBB3foQWTgad4YNeMQxik88zp4ySDyFVwReommHjGbg [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.21
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id E97B9240DBD for <cpan-bug+DBD-ODBC [...] hipster.bestpractical.com>; Fri, 18 Nov 2011 15:25:54 -0500 (EST)
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 LRGZB6ebJosT for <cpan-bug+DBD-ODBC [...] hipster.bestpractical.com>; Fri, 18 Nov 2011 15:25:53 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D9055240CB3 for <bug-DBD-ODBC [...] rt.cpan.org>; Fri, 18 Nov 2011 15:25:52 -0500 (EST)
Received: (qmail 14511 invoked by uid 103); 18 Nov 2011 20:25:52 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Nov 2011 20:25:52 -0000
Received: from mail-vx0-f178.google.com (HELO mail-vx0-f178.google.com) (209.85.220.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Fri, 18 Nov 2011 12:25:48 -0800
Received: by vcbfo14 with SMTP id fo14so2412251vcb.9 for <bug-DBD-ODBC [...] rt.cpan.org>; Fri, 18 Nov 2011 12:25:45 -0800 (PST)
Received: by 10.52.117.65 with SMTP id kc1mr5041147vdb.66.1321647945830; Fri, 18 Nov 2011 12:25:45 -0800 (PST)
Received: by 10.220.229.65 with HTTP; Fri, 18 Nov 2011 12:25:45 -0800 (PST)
Delivered-To: cpan-bug+DBD-ODBC [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #72534] Unwanted debugging output appears on console
Return-Path: <john.deighan [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7T8Rbeibv+BxR/f5XO9ATA57lZgm30Gt88FiBmleYKk=; b=BhGnr+XYeQLvBqQkaucqywPguMxJ/n+npJLQn3l2WE1lo7G21gtE3QDvzva4RE+Dd8 sEPlhM2JTTd+JskADopzqn3CeTp1Bcqh1m7HW2OE+VWe20Ovhf51mq0o7QorqKlLYKhp 43T+wJ/9GkCXxovSR/iJHaZvwTrZ64mskONNU=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+DBD-ODBC [...] hipster.bestpractical.com
X-RT-Mail-Extension: dbd-odbc
Date: Fri, 18 Nov 2011 15:25:45 -0500
X-Spam-Level:
To: bug-DBD-ODBC [...] rt.cpan.org
From: John Deighan <john.deighan [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-6892-1321647955-699.72534-0-0 [...] rt.cpan.org>
Content-Length: 2010
Download (untitled) / with headers
text/plain 1.9k
No problem. Shit happens. Thanks for the quick reply. On Fri, Nov 18, 2011 at 2:34 PM, Martin J Evans via RT <bug-DBD-ODBC@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=72534 > > > On Fri Nov 18 14:10:48 2011, jdeighan wrote:
>> I'm running Microsoft Windows Server 2003 SP2, ActivePerl 5.12.4, DBI >> 1.616 and DBD-ODBC 1.31 (in the 'site' area, ActivePerl came with 1.29 >> in the 'perl' area). I wrote a script to test database fetches, and in >> the console appeared a number of lines that just said 'HERE'. I used the >> debugger that comes with the ActiveState Perl Development Kit to step >> through the program, and the lines appeared when the statement >> $st->bind_param() was being called. So (using TextPad, my preferred text >> editor), I searched all files in my c:\Perl\site\lib directory for an >> all upper-case word 'HERE' and found it in the file: >> >> C:\Perl\site\lib\auto\DBD\ODBC\ODBC.dll >> >> FYI, the file properties say the file was created on Tuesday, November >> 08, 2011, 10:27:21 AM and has size 98,405 bytes >> >> TextPad actually allowed me to change the string 'HERE' to the string >> 'DEIG' and sure enough, when I re-ran my test script, the 'HERE' lines >> now appear as 'DEIG'. I'm assuming that someone left some debugging code >> in there. >> >> I hadn't seen this behavior before, but some of the recent
> > Gross embarressment - I always diff stuff before checking in so I'm > amazed I missed this. I will remove it from the subversion trunk tonight > and it will be fixed in the next release which will be in the next few days. > > You can remove it yourself so long as you install MinGW from > ActiveState. Just download latest DBD::ODBC, untar it and edit dbdimp.c > to remove the printf containing "HERE". Write it out then do run cpan > and install . > > Thanks again for the report. The debug is in an obscure area of > DBD::ODBC so few people are going to see it but it needs fixing. > > Martin > -- > Martin J. Evans > Wetherby, UK >


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.