Re: FreeTDS 0.91.96 - Unit tests

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4dL0hvfagrh_ddJjNvZy44UWr9QVPbfAtmAKpQcvWy5mw@mail.gmail.com>
2013/11/18 Sergio NNX <[email protected]>:
> Ciao all.
>
> I've just built FreeTDS 0.91.96 from source on Windows and now I'm running the unit tests. Some of them are failing and I need some advice about what the problem may be. Using MS SQL 2008.
>
> Thanks in advance.
>
> Sergio.
>
> Tests output
> ----------------
>
>
> ====================
> 1 of 18 tests failed (tds/unittests) : FAIL: readconf.exe
> ====================
>

Quite strange this fails!

> ====================
> All 29 tests failed (ctlib/unittests)
> ====================
>
> ====================
> 1 of 34 tests failed (dblib/unittests)
> ====================
>
> DB-LIBRARY error (dberr 20050 (severity 4): "Attempt to convert data stopped by syntax error in source field"; oserr 0: "No error") error: no unanticipated errors allowed in unit tests
> FAIL: t0016.exe
>

:( probably related to some characters conversion. utf-8 not working
?? Did you use iconv?

>
> =====================
> 16 of 68 tests failed (odbc/unittests)
> =====================
>

16 ?? Quite bad

>
> Wrong result
>   Got: 130000D8CDF730448203000000000000000000
>   Expected: 283208CFBB7DFCFF
> FAIL: genparams.exe
>

Mmm... this is using wrong protocol (expected bigint got numeric)

> data.c:54 rc=1 SQLFetch
> SQL error 37000 -- [FreeTDS][SQL Server]Some character(s) could not be converted into client's character set.  Unconverted bytes were changed to question marks ('?')
> FAIL: data.exe
>

Still conversions.

> CheckType 137
> CheckType 139
> Data expected. Inpute type 9 - SQL_DATE line 139
> FAIL: typeinfo.exe
>
> cursor1.c:69 rc=-1 SQLExecDirect
> SQL error 37000 -- [FreeTDS][SQL Server]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x00 is unknown.
> FAIL: cursor1.exe
>

This is serious !!

Looking forward for dumps.

Frediano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.