Skip to Content.
Sympa Menu

freetds - TDS 7.0 protocol bug?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Victor Tsang <victor.tsang AT ieee.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: TDS 7.0 protocol bug?
  • Date: Sat, 22 Apr 2000 22:39:26 +0800


Hi,

I try to use FreeTDS 0.5 dblib in Apple Darwin (FYI, Darwin is the base of
Apple's
MacOS X which is port from BSD 4.4) to connect to MSSQL 7.

Here is the parameters I used in the configuration:
./configure --host=powerpc-apple-bsd --with-tdsver=7.0 --enable-msdblib

My test program failed upon dbopen() with "Unknown marker 0!!" error message.
In my NT
box, the SQLTrace catch an error "Error: 17832, Severity 18, State: 6..."
saying that
the login packet is invalid.

However, if I configure the freetds --with-tdsver=4.2 instead of 7.0, the
test program
works fine... but the server is SQL7, and the freetds doc said it is not
supposed to
work.

I don't think it is my config error (I noticed some #ifdef freeBSD stuff in
tds code),
otherwise, tds 4.2 should be very likely failed to work. Does it already have
a patch
on this issue (inside CVS)? Or the TDS 7.0 protocol is still under hacking?


--

Victor Tsang

victor.tsang AT ieee.org
http://home.netvigator.com/~vyftsang






Archive powered by MHonArc 2.6.24.

Top of Page