[freetds] SQLFetch broken in HEAD?

Lowden, James K james.k.lowden at alliancebernstein.com
Mon Jul 3 09:46:03 EDT 2006

> From: ZIGLIO, Frediano, VF-IT
> Sent: Monday, July 03, 2006 8:19 AM
> > Frediano Ziglio wrote:
> > > > I added a new unit test, src/odbc/unittests/rpc.c.  I
> > think it's coded
> > > > correctly, but SQLFetch returns SQL_NO_DATA_FOUND the
> > first time it's
> > > > called.  TDSDUMP shows the rows coming back, and
> > > > src/odbc/unittests/getdata.c also fails to return rows
> > (but the test
> > > > passes).
> > > > 
> > > > I'm using unixODBC 2.2.11.
> > >
> > > SQLFetch return SQL_NO_DATA cause there are no rows...  "select
> > > name from sysobjects where 0=1" return 0 rows.
> > 
> > I'm sorry, I should have looked at getdate.c more closely.
> > 
> > Could you take a look at my new rpc.c and tell me if it's coded
> > correctly?
> Perhaps you forgot to attach updated file? CVS version is still
> 1.1.

No, I didn't forget.  Friday was the first time I added it to the unit

I'm interested to know if it's right and if it works for you.  :-)


The information contained in this transmission may be privileged and
confidential and is intended only for the use of the person(s) named
above. If you are not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, any review, dissemination,
distribution or duplication of this communication is strictly prohibited. If you are
not the intended recipient, please contact the sender immediately by reply e-mail
and destroy all copies of the original message. Please note that we do not accept
account orders and/or instructions by e-mail, and therefore will not be responsible
for carrying out such orders and/or instructions.  If you, as the intended recipient
of this message, the purpose of which is to inform and update our clients, prospects
and consultants of developments relating to our services and products, would not
like to receive further e-mail correspondence from the sender, please "reply" to the
sender indicating your wishes.  In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.

More information about the FreeTDS mailing list