freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] unittest/setnull.c passes
- Date: Tue, 11 Dec 2007 15:44:15 +0100
>
> unittest/null.c and unittest/null2.c fail on Sybase servers because
> there's no NTEXT or NVARCHAR(MAX).
>
No, these kind of errors are ignored. However the test isn't able to
distinguish if server return differently empty strings and NULLs...
Sybase cannot store empty string so it returns empty strings as ' '.
Perhaps a select cast('' as varchar(2)) query could fix the problem...
> The unit tests could call DBTDS() to decide if the server supports a
> feature, instead of issuing misleading errors.
>
> But overall it looks pretty good from here.
>
freddy77
-
[freetds] unittest/setnull.c passes,
James K. Lowden, 12/11/2007
-
Re: [freetds] unittest/setnull.c passes,
ZIGLIO, Frediano, VF-IT, 12/11/2007
-
Re: [freetds] unittest/setnull.c passes,
James K. Lowden, 12/11/2007
- Re: [freetds] unittest/setnull.c passes, ZIGLIO, Frediano, VF-IT, 12/11/2007
-
Re: [freetds] unittest/setnull.c passes,
James K. Lowden, 12/11/2007
-
Re: [freetds] unittest/setnull.c passes,
ZIGLIO, Frediano, VF-IT, 12/11/2007
Archive powered by MHonArc 2.6.24.