Skip to Content.
Sympa Menu

freetds - Re: [freetds] Crash selecting a blank TEXT field

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Crash selecting a blank TEXT field
  • Date: Thu, 31 May 2007 13:44:07 -0400

Luke Benstead wrote:
>
> I'm using 0.64. The bug doesn't occur with 0.63 but I get a different
> bug (duplicate rows returned when there is a warning) with 0.63 that is
> fixed in 0.64 :)

:-) And this will be fixed, too, soon.

> Setting a text-size does get rid of the crazy numbers, setting a text
> size of 4000 in freetds.conf, sets the Server column size to 4000 and
> the client one to 8000. Either way the bug still occurs.

I.e., it still crashes?

> The field is an ntext field that is empty (i.e a blank string, not NULL)

Thanks. I think we should add this to our unit tests. From your
description it sounds like a server bug. Where I come from zero-length
strings have a length of zero, not infinite. But mine is basically a
Newtonian existence....

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page