[freetds] unittest/setnull.c passes
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Tue Dec 11 09:44:15 EST 2007
>
> 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
More information about the FreeTDS
mailing list