freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Teemu Torma <teemu AT torma.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Problem with Set TEXT field to NULL
- Date: Thu, 12 Feb 2009 13:49:28 +0100
On Wednesday 11 February 2009 05:12:40 James K. Lowden wrote:
> Anyone got a patch? I'm not going to be able to look into this for a few
> weeks.
Does this patch help? I just yesterday updated to 0.82 and noticed that long
varchar columns (> 255) do not receive null status. The attached appears to
fix this.
Teemu
diff --git a/src/tds/token.c b/src/tds/token.c --- a/src/tds/token.c +++ b/src/tds/token.c @@ -1952,6 +1952,8 @@ break; case 5: colsize = tds_get_int(tds); + if (colsize == 0) + colsize = -1; break; case 2: colsize = tds_get_smallint(tds);
-
[freetds] Problem with Set TEXT field to NULL,
Min, 02/09/2009
- <Possible follow-up(s)>
-
[freetds] Problem with Set TEXT field to NULL,
Min Admin, 02/09/2009
-
Re: [freetds] Problem with Set TEXT field to NULL,
Min, 02/09/2009
-
Re: [freetds] Problem with Set TEXT field to NULL,
James K. Lowden, 02/10/2009
-
Re: [freetds] Problem with Set TEXT field to NULL,
Teemu Torma, 02/12/2009
- Re: [freetds] Problem with Set TEXT field to NULL, Min, 02/12/2009
-
Re: [freetds] Problem with Set TEXT field to NULL,
Teemu Torma, 02/12/2009
-
Re: [freetds] Problem with Set TEXT field to NULL,
James K. Lowden, 02/10/2009
-
Re: [freetds] Problem with Set TEXT field to NULL,
Min, 02/09/2009
Archive powered by MHonArc 2.6.24.