Skip to Content.
Sympa Menu

freetds - [freetds] Latest snapshot

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <ThompBil AT exchange.uk.ml.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Latest snapshot
  • Date: Wed, 16 Apr 2003 13:38:04 +0100

All,

I know it's work in progress , but I thought I'd download and try out the
latest snapshot:

1) I use a good old fashioned C compiler which has served me well for many
years, so it objected to the C++ style comments (in tds.h and
src/server/login.c)

2) from Solaris to MS SQL 2000, the code goes into an endless loop in
tds_put_string()
...I guess "len" never gets decremented to 0

if (IS_TDS7_PLUS(tds)) {
eob = s + len; /* 1 past the end of the input buffer */
while (len > 0) {
tdsdump_log(TDS_DBG_NETWORK, "%L tds_put_string converting %d
bytes of \"%s\"\n", len, s);
output_size = len * bpc;
if (output_size > sizeof(buffer))
output_size = sizeof(buffer);
bytes_out = tds_iconv(to_server, tds->iconv_info, s, &len,
buffer, output_size);
s = eob - len;
tds_put_n(tds, buffer, bytes_out);
}
tdsdump_log(TDS_DBG_NETWORK, "%L tds_put_string wrote %d bytes\n",
bytes_out);
return bytes_out;

Bill

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Bill Thompson
Securities Services Division
Merrill Lynch Europe

For very important information relating to this e-mail please click on this
link: http://www.ml.com/legal_info.htm






Archive powered by MHonArc 2.6.24.

Top of Page