freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Server - Problems with TDS 4.2 COLFMT token
- From: Steve Kirkendall <skirkendall AT dsl-only.net>
- To: FreeTDS <freetds AT lists.ibiblio.org>
- Subject: [freetds] Server - Problems with TDS 4.2 COLFMT token
- Date: Thu, 13 May 2004 17:39:44 -0700
I'm hoping this will be obvious to somebody...
Most of my success in writing a tiny SQL server has come with TDS 5.0.
Now I'm making another attempt at using TDS 4.2, and I'm running into a
problem. It seems that the client (the FreeTDS ODBC driver on a Windows
machine) is parsing the 0xA1(COLFMT) token incorrectly. It keeps reading
column info past the end of the token.
Also, the description of the COLFMT token in "tds.html" seems to be
way off. It shows 0xA1 as containing column names (duplicating the
names sent via 0xA0(COLNAME) tokens) but really it just contains four
NUL bytes, a type byte and optionally a length byte for each column...
assuming the tds_send_colinfo() function in src/server/server.c is
correct.
Anyway, I'd appreciate it if somebody could look through the attached
log file from the client, and tell me why it dies on the COLFMT token.
Maybe it has something to do with the tds_free_all_results() call
immediately before it processes the COLFMT token?
--
Steve Kirkendall |A:It is confusing, since people don't read that way
kirkenda AT cs.pdx.edu |Q:Why is top-posting bad?
|A:It is adding comments to the top of a message
|Q:What is top-posting?
Attachment:
FreeTDS.log
Description: Binary data
-
[freetds] Server - Problems with TDS 4.2 COLFMT token,
Steve Kirkendall, 05/13/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
James K. Lowden, 05/14/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
Steve Kirkendall, 05/14/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
James K. Lowden, 05/14/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
Steve Kirkendall, 05/15/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
James K. Lowden, 05/16/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
Steve Kirkendall, 05/17/2004
- Re: [freetds] Server - Problems with TDS 4.2 COLFMT token, Frediano Ziglio, 05/17/2004
- Re: [freetds] Server - Problems with TDS 4.2 COLFMT token, Steve Kirkendall, 05/17/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
Steve Kirkendall, 05/17/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
James K. Lowden, 05/16/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
Steve Kirkendall, 05/15/2004
- RE: [freetds] Server - Problems with TDS 4.2 COLFMT token, Mike C., 05/18/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
James K. Lowden, 05/14/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
Steve Kirkendall, 05/14/2004
-
Re: [freetds] Server - Problems with TDS 4.2 COLFMT token,
James K. Lowden, 05/14/2004
- <Possible follow-up(s)>
- RE: [freetds] Server - Problems with TDS 4.2 COLFMT token, Lowden, James K, 05/17/2004
Archive powered by MHonArc 2.6.24.