freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: New PR/478 entered by mattd AT myrealbox.com
- Date: 20 Nov 2002 22:44:53 +0100
Il mer, 2002-11-20 alle 22:27, Michael Peppler ha scritto:
> [CC'd to the FreeTDS mailing list]
>
>
> Right. But that command *will* return at least one row, with at least
> one column (the status result).
>
> If I get to the point where ct_res_info() is called there should be a
> fetchable result row, which means at least one column.
>
> My guess is that this is a FreeTDS bug(let).
>
I think so.
Can we have the source of store procedure ?
Or the dump?
freddy77
> Michael
>
> On Wed, 2002-11-20 at 13:12, Matt DeFoor wrote:
> > "exec pMarkProcessed \"$host\",\"$user\",\"$code\",$errcode"
> >
> > On Wednesday 20 November 2002 04:01 pm, you wrote:
> > > What is the SQL request in $command?
> > >
> > > Michael
> > >
> > > On Wed, 2002-11-20 at 12:52, mattd AT myrealbox.com wrote:
> > > > New or modifed bug information for Bug ID 478
> > > >
> > > > Category: DBD::Sybase
> > > > Type/Priority: Change / Low
> > > > Submitted By: mattd AT myrealbox.com
> > > > Date: Nov 20 2002 12:52PM
> > > > Status: New
> > > > Summary: $sth->execute produces warning 0 columns are returned
> > > > Description:
> > > > Using FreeTDS 0.60 nightly snapshot. If the number of columns returned
> > > > after the following produces a warning. Is it necessary?
> > > >
> > > > $sth->$dbh->prepare($command);
> > > > $sth->execute;
> > > >
> > > > dbdimp.c has the following:
> > > >
> > > > if(numCols <= 0) {
> > > > warn('ct_res_info() returned 0 columns');
> > > > DBIc_NUM_FIELDS(imp_sth) = numCols;
> > > > imp_sth->numCols = 0;
> > > > goto GoodBye;
> > > > }
> > > > if(dbis->debug >= 2)
> > > > PerlIO_printf(DBILOGFP, ' ct_res_info() returns %d columns\n',
> > > > numCols);
> > > >
> > > > I don't remember it behaving this way with DBD::Sybase 0.94 and
> > > > FreeTDS
> > > > 0.50/0.53. My code has not changed.
> > > >
> > > > Thanks for any insight you might have.
> > > >
> > > > Log History:
-
Re: New PR/478 entered by mattd AT myrealbox.com,
Michael Peppler, 11/20/2002
- <Possible follow-up(s)>
- Re: New PR/478 entered by mattd AT myrealbox.com, Frediano Ziglio, 11/20/2002
Archive powered by MHonArc 2.6.24.