Skip to Content.
Sympa Menu

freetds - Re: [PATCH] msg_number to TDS_UINT

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Bob Kline <bkline AT rksystems.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: [PATCH] msg_number to TDS_UINT
  • Date: Sat, 26 Jan 2002 13:49:49 -0500 (EST)


On Sat, 26 Jan 2002, Steve Langasek wrote:

> My concern is that this is being done specifically *because* of the
> line in dblib/dbutil.c:
>
> if( tds->msg_info->msg_number > 0 )
>
> If you change msg_number to be a uint, then this comparison will
> always be false.

Zero is a legitimate value for an unsigned integer.

--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com





Archive powered by MHonArc 2.6.24.

Top of Page